Hi i have a webtable which is having 7 columns and 6 rows
of data in that table of 4th and 5 th column each row is
partiotioned into 3 sub rows i want to verify in each
partitioned rows of corresponding row for ex values will be
like this 0 / 1 ,26/28.if it is 0/1 i want to skip only if
any num/num greater than 1 i want to click.
Answer Posted / mogal
RC = Browser("BrowserName").Page("PageName").WEbTable("TableName").RowCount
For iLoop = 1 to RC
Set Link1 = Browser("BrowserName").Page("PageName").WEbTable("TableName").ChildItem(iLoop,4,"ClassName",0)
Set Link2 = Browser("BrowserName").Page("PageName").WEbTable("TableName").ChildItem(iLoop,4,"ClassName",1)
Set Link3 = Browser("BrowserName").Page("PageName").WEbTable("TableName").ChildItem(iLoop,4,"ClassName",2)
If Cint(Link1.GetRoproperty("value")) and Cint(Link2.GetRoproperty("value")) > 1 Then
Link3.Click
End If
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
How will you check that your test cases covered all the requirements?
How may types of defects identify application or your currently working application?pls give me answer..
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
How do you delete unwanted results in qtp?
If you are testing a web application then what will you test in that application?
What are the different types of recording modes?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
Who uses qtp tool?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
what is the difference between built-i function and In-built function?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
What is file database?
How you can write contexts to text file in qtp?