how do find current links in webpage for ex: in
yahoowebsite today mainpage is having 50 links and next day
same page is having 60 links. if i run same programe it
should display total links in webpage ?
Answer Posted / bkiranratna
Set oDesc = Description.Create()
oDesc("micclass").Value = "WebList"
Set Lists = Browser("Mercury Interactive").Page("Mercury
Interactive").ChildObjects(oDesc)
NumberOfLists = Lists.Count()
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
hi nani my doubt is how does qtp process metrix related to software process.
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
Explain about Test Fusion Report of QTP?
What is the parameterization?
What is quicktest professional?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is the difference between keyword view and expert view?
What is contained in the object repository?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
hou can we use vb script in qtp could u tell me breafly
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
How many types of Automation frameworks are there in UFT? Describe them.
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
Describe synchronization point.