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 / nanda
HI...What Satya..we dont need add objects to repository for
descriptive programming.
come to scenario....
dialog("login").winedit("Agent Name:").set datatable.value(1)
dialog("login").winedit("Password:").setsecure
crypt.encrypt(datatable.value(2))
dialog("login").winbutton("OK").click
If dialog("Login").dialog("text:=Flight Reservations").exist
then
dialog("Login").dialog("text:=Flight
Reservations").winbutton("text:=OK").click
dialog("Login").WinButton("Cancel").click
Else
window("Flight reservation").close
end if
like this we can handle pop up messages...
If any queries..
nanda.dreddy@gmail.com
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
Explain advantages and disadvantages of ddf?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Suggest and Define a solution for an application whose objects are not recognized by UFT?
What are parameterizing tests?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
whow much strong on VB and C?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
What are the general steps involved in the data driven framework?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
what is the difference btn risks & Therads in the Test plan documentation?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What are the 3 main stages involved in testing with qtp?