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

explain all the check point in QTP?

1 Answers   BirlaSoft,


what is the purpose of .vbs file?

2 Answers   HCL,


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

0 Answers   Fiserv,


How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.

6 Answers  


Use of Multiple Actions in QTP?

3 Answers  






Name the different types of recording modes?

0 Answers  


Have you used xml check point in your project?

0 Answers  


What is the Diff between Image check-point and Bit map Check point?

15 Answers   CTS,


Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated

2 Answers   McAfee,


How many regression test suits in your appliction?

2 Answers   CTS,


what is smart identification in qtp? pls any give details? thanks in advance

3 Answers   IBM,


1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


Categories