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
What is a quick test professional?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Suppose I want fail that check point? How can you do that?
How qtp identifies objects?
When should I use smart identification?
Is the qtp course will help to create a virtual object?
How to find Operating system information using QTP script?
How to remove associated function library?
what could go wrong with test automation?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Will down time for server and content maintenance/upgrades be allowed? how much?
What are the key elements available in test result window?
What r the different filters in defect in quality center