what properties do use to identify a browser and page while
using descriptive programming?
Answer Posted / kiran
QTP identifies the browser by name and page by tilte. We
can use index to be on safe side.
Browser("name:=Welcome To.*","index:=0").Page
("title:=Welcome To.*","index:=0").exist
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to use transactions in qtp?
please any one can explain the keyword driven framework. with gmail example.
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
What is keyword driven framework?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
if numbers are always changing write a script for that
What is the difference between qtp and selenium?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
Problem with XML checkpoint in QTP ?
How will you find the current time of the remote machine using QTP script?
Hi All, How to Compare two strings character by character in QTP
What are the different types of recording modes?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?