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.



Hi i have a webtable which is having 7 columns and 6 rows of data in that table of 4th and 5 th co..

Answer / 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

More QTP Interview Questions

I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese)

1 Answers   TCS, Wipro,


My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.

1 Answers  


how can i replace any text from the qtp script with some anothere text

1 Answers   Livetek,


Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?

5 Answers  


Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?

1 Answers  






Tell about automation object model(Aom) in qtp?

6 Answers   GE,


How to handle the errors without using recovery scenery?

3 Answers  


What is driver script and driver script in qtp frame work????

6 Answers   IBM,


How can get count of list box?

0 Answers  


How to Start recording using QTP?

1 Answers  


Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx

5 Answers  


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

0 Answers   TCS,


Categories