Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » What should I do to use column title in SelectEntryByTextpath _specifyColumn)
What should I do to use column title in SelectEntryByTextpath _specifyColumn) [message #1012365] Thu, 21 February 2013 07:18 Go to next message
Andre Renard is currently offline Andre Renard
Messages: 20
Registered: February 2013
Junior Member
It works if I use the column index(2 in my case) but does not with its title ('Short description' in my case). What do I do wrong?

[Updated on: Thu, 21 February 2013 07:19]

Report message to a moderator

Re: What should I do to use column title in SelectEntryByTextpath _specifyColumn) [message #1012773 is a reply to message #1012365] Fri, 22 February 2013 02:57 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1134
Registered: July 2009
Senior Member
2 things that come to mind:
- The text you are using to match the column header isn't matching. Are you using regular expressions? Does the regex match only this column header?
- The text in the headers is not accessible. Can you select from column with text for any of them? A picture of the headers and the parameters you're using to select might help as well.

HTH,
Alex
Re: What should I do to use column title in SelectEntryByTextpath _specifyColumn) [message #1012783 is a reply to message #1012773] Fri, 22 February 2013 03:19 Go to previous messageGo to next message
Andre Renard is currently offline Andre Renard
Messages: 20
Registered: February 2013
Junior Member
Alexandra Schladebeck wrote on Fri, 22 February 2013 02:57

- The text you are using to match the column header isn't matching. Are you using regular expressions? Does the regex match only this column header?

How can I using a regular expression here?

This is what I am targetting to modify.

index.php/fa/13505/0/

I can do it with:

index.php/fa/13506/0/

But not with:

index.php/fa/13507/0/

Alexandra Schladebeck wrote on Fri, 22 February 2013 02:57

- The text in the headers is not accessible. Can you select from column with text for any of them?

I can modify the column content using its index (2) instead of its title ('Short description') (see above).

I believe I am doing what is explain in page 371 of the reference manual. But perhaps not?

index.php/fa/13510/0/

André

[Updated on: Fri, 22 February 2013 03:27]

Report message to a moderator

Re: What should I do to use column title in SelectEntryByTextpath _specifyColumn) [message #1014999 is a reply to message #1012783] Wed, 27 February 2013 02:51 Go to previous message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 1134
Registered: July 2009
Senior Member
Hi,

Thanks for the detailed information. I noticed while looking at a different case with tree tables that we still use the type "integer" here for the column - therefore, only the number will do I'm afraid. I've already put an enhancement in for this here.

Best regards (and sorry for the initial confusion!)
Alex
Previous Topic:customize gridlayout
Next Topic:Why jubula hangs waited for unlimited time while checking for the text is correct or not?
Goto Forum:
  


Current Time: Fri Aug 29 08:28:35 EDT 2014

Powered by FUDForum. Page generated in 0.02197 seconds