how to write the descriptive programming in QTP for
loginwindow.without using Step generator,object repository
for referecnes
Answer Posted / grsmrc2118@yahoo.com
hi you can write it by taking assistance from objectspy and
looking at methods and properties
dialog("text:=login).activate
dialog("text:=login).winedit("attachedtext:=agent
name:").set "mayur"
dialog("text:=login).winedit
("attachedtext:=password").setsecure "*********************"
dialog("text:=login").winbutton("text:=OK").click
but the better answer in interviews is explain that it is
hard to remember all the methods so by taking assistance
from object spy we are going to write
regards
naidu
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
What is system testing and what are the different types of tests you perform in system testing?
What is the difference between shared and local object repository?
What is contained in the object repository?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
When Recovery scenario actually starts while testing the application?
why you have standardized functions? plzzz guys with real time exp. do answer
In qtp, how you can remove the spaces from string?
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
In qtp is it possible to check broken links of a page?
How to use transactions in qtp?
What are the check points can be inserted without recording?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
What is test object model in quicktest professional (qtp)?
Hi ,Can any one pleas explain how to test splash objects using QTP?