The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Borland/Segue SilkTest

Pages: 1
caryr
Newbie


Reged: 11/08/11
Posts: 8
Silktest datagrid
      #718634 - 10/23/12 12:29 PM

I have a flex datagrid with 6 columns and 5 rows.
I want to get all the information out of the datagrid.
If I do this;
code
INTEGER iRowCount
LIST OF LIST OF STRING lMainGroups
iRowCount = FlexUSM.UMP.USM.Find("//FlexDataGrid[@caption='groupGrid']").numRows
lMainGroups = FlexUSM.UMP.USM.Find("//FlexDataGrid[@caption='groupGrid']").GetValues(0,iRowCount)

I get the following error.
Error during executing the Flex method 'FlexDataGrid::GetValues'. Error #1009.
Occurred in GetValues
Called from testingDatagrid at USM.t(3216)



Please help.


Post Extras: Print Post   Remind Me!   Notify Moderator  
rakeshraghvani12345
Junior Member


Reged: 01/21/05
Posts: 336
Loc: UK
Re: Silktest datagrid [Re: caryr]
      #718741 - 10/25/12 07:46 AM

Can I suggest you do this first, to see if it works.

LIST OF LIST OF STRING lMainGroups = FlexUSM.UMP.USM.Find("//FlexDataGrid[@caption='groupGrid']").GetValues(0, 1)

Tweak the values of GetValues. If it still doesnt work, then most likely its an issue with SilkTest, which you will have to log a call.


Post Extras: Print Post   Remind Me!   Notify Moderator  
caryr
Newbie


Reged: 11/08/11
Posts: 8
Re: Silktest datagrid [Re: rakeshraghvani12345]
      #718817 - 10/26/12 08:19 AM

Thank you rakeshraghvani12345. This is a silktest error.
The rows in the grid are 5 and the error will not go away until my bottom number is 5 and the top number is unlimited.
ie
LIST OF LIST OF STRING lMainGroups = FlexUSM.UMP.USM.Find("//FlexDataGrid[@caption='groupGrid']").GetValues(5, 100)
However at this point it gets nothing in the grid.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 12 anonymous users are browsing this forum.

Moderator:  AJ, jamesso, DJGray, David Reed 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1768

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5