what properties do use to identify a browser and page while
using descriptive programming?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vengi
Qtp identifies a browser and page by name and title
properties
For EX:
Window("Name:WelCome To Gmail","Title:WelCome To
gmail").Page("Name:WelCome To Gmail","Title:WelCome To
gmail").Exist
Is This Answer Correct ? | 0 Yes | 0 No |
how to click the link in webpage by using QTP Script????????
What are the Features & Benefits of Quick Test Pro ?
Explain about the quicktest professional (qtp) automation object model?
-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
how can we retrieve ten rows from the data table using loop concept?
how to check URL using QTP? write vb script with descriptive programm only?
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.
What is the difference betweent test and component?
what is test scheduleling?
How to apporach while starting the automation testing?
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing