i am new to qtp i do not know how to write script
how to write the code to login if it fails how to able
error messages
Answer Posted / satyaprasad
dialog("login").active
dialog("login").winedit("username").set"asdf"
dialog("login).winedit("password").setsecure"amxcer013m34ee"
dialog("login").winbutton("ok").click
Note:for descriptive programing we must add the objects of
the application to "Object repository"
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the use of Debug Viewer?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
How to open a new test using quicktest professional?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
What is Cross browser testing? Does UFT support it?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
What is different command used in command Prompt while using QTP?
How to customize checkpoints with parameters?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
What is the differences between image check point and bit map check point?
what is actually contain test report? can anybody post the test report
How to find the length of the string in qtp?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
Explain quicktest professional (qtp) testing process?
What is the difference between run time object and test object in QTP?