When i use paramateriztion for tickets in flight
reservation application , the tes'll run for first
iteration but for the second iteration it'll give this
details, but the second iteration is failed. Pls anyone
clarify it.
Cannot find the "Agent Name:" object's parent
"Login" (class Dialog). Verify that parent properties match
an object currently displayed in your application.
Answers were Sorted based on User's Feedback
Answer / latha
u might be closing the window after selecting the tickets,
so again it has to login, if u want to close and reopen the
window better go for the systemutil.run statement to
automatically open the application and perform the
iterations
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / xyz
You have to open an application Flight Reservation again before running the test.
U must be closing your application once you are done with your actions, so when you try to run your application, QTP does not open an application on its own in order to resolve this problem either you will have to give the path of an application as a first step of scrip using SystemUtil.Run or open an application before running the test.
It will work and is the best solution for the problem you are facing.
Thanks
| Is This Answer Correct ? | 0 Yes | 0 No |
How does you test a weblink which is changing dynamically?
difference Between Call Run action and copy of action?
What is debugging? How you debug your script?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is chaild object method? When we will go for chaild object method? How to use chaild object method?
If I change the object name in one action will it be updated in all the actions? Or not?
What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?
we have 5 default properties we want add more Default property in Object Repository how to add the property
How 2check the color of the text in the textfield . say suppose the text entered in the textfield object is appearing in red. so i want to check whether the text is in red color or not. It could be great help for me if any one solve's my issue. plz...help
what skills needed to be good test automation?
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"