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



When i use paramateriztion for tickets in flight reservation application , the tes'll run for..

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

When i use paramateriztion for tickets in flight reservation application , the tes'll run for..

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

Post New Answer

More QTP Interview Questions

What are the most frequent errors you faced while executing your scripts?

1 Answers  


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

0 Answers  


What is meant by Environmental variables?2 types r there know…can u pls explain clearly?

1 Answers  


Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?

1 Answers  


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

0 Answers   TCS,






how do i know how to use tools

0 Answers  


What is object spy in quicktest professional?

0 Answers  


What is the use of low level recording? How does it useful?

1 Answers  


if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks

1 Answers   iCreate,


What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


how to write vbscript on web applications in qtp. explian with one example?

4 Answers   Wipro,


According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com

1 Answers   HCL,


Categories