select proper cell in a table

127 views
Skip to first unread message

Gabi

unread,
May 13, 2013, 7:15:22 AM5/13/13
to marathon...@googlegroups.com
Hi All,
i have some table in my gui.
i want to select a cell regard its name.
i create my table with some dataModel.
 i tried to select my cell in the following way:

select("table", "rows:[1],columns:[cell Name]") 

but i always getting that my text not exist in this column.

am i making somthing wrong.
i am sure that my text is correct since i am reading it from the model and print it (by puts)

Thanks

Gabi

Dakshinamurthy Karra

unread,
May 14, 2013, 12:21:35 AM5/14/13
to marathon...@googlegroups.com
Is it a table that allows full row selection or cell selection. The call to select seems OK. You can try click() instead of select and see whether that solves the issue. Note that for a click you need to send individual cell.

-- KD




Gabi

--
Looking for professional help with your Marathon projects?
Go visit: http://marathontesting.com
---
You received this message because you are subscribed to the Google Groups "Marathon Java GUI Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testi...@googlegroups.com.
To post to this group, send email to marathon...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gabi

unread,
May 19, 2013, 2:55:38 AM5/19/13
to marathon...@googlegroups.com
Hi,
first of all thanks for your replay.
i was find out that in my application override the columns name so the title was not match the 
table.getColumnName(int indx) function
so know i change it and it start work better.
but i still has a problem:
when i record the script i select each cell (i have only four columns and three rows) and i metion that the names are finds.
but when i replay it i saw that the first column is skipt and not select.
but thet other are select  fine.

i was putting in my application the point that i select so i send it to my screen, but when i replay it i mention that the point was moving and i am getting some shift.

have you familler with this problem???

Thanks

Gabi

בתאריך יום שלישי, 14 במאי 2013 07:21:35 UTC+3, מאת Dakshinamurthy Karra:

Gabi

unread,
May 20, 2013, 8:18:17 AM5/20/13
to marathon...@googlegroups.com
Hi,
i find a soloution but i'm not so happy with this soloution.
i was find out the point that i select each cell and keep it to csv file.
so when i run my test i make a click i get this point from my file.

i dont like it because if someone will change a resolotuion it wont work and stuck.
the best way its working with names but its skiping.

so if you have any suggestion let me know.

thanks

בתאריך יום שלישי, 14 במאי 2013 07:21:35 UTC+3, מאת Dakshinamurthy Karra:
Is it a table that allows full row selection or cell selection. The call to select seems OK. You can try click() instead of select and see whether that solves the issue. Note that for a click you need to send individual cell.

-- KD

Dakshinamurthy Karra

unread,
May 23, 2013, 12:22:03 AM5/23/13
to marathon...@googlegroups.com
There was a problem with click() on the table headers. Try with the new version of Marathon - that fixes this issue.

-- KD

Gabi

unread,
May 23, 2013, 4:45:38 AM5/23/13
to marathon...@googlegroups.com
Hi'
i already working with version 3.3.2.
you mean there is a newer version??
another question:
when i running my tests i noticed ther is another version of my test that end by "-2". why this test created and how can remove it?

Thanks
Gabi

בתאריך יום חמישי, 23 במאי 2013 07:22:03 UTC+3, מאת Dakshinamurthy Karra:
Reply all
Reply to author
Forward
0 new messages