I have written some script in QTP and i added those objects
in Object Repository. All written script has been executed
successfully. After few days when i tried to execute the
same script i got error message "objects not found in Object
Repositiry". How can we solve this issue?

Answer Posted / anil

ya fine,the script was executed sucessfully at the time of
writing the code after some days in the application the
object properties may change by the developer so due to
that reason it is getting the error..

note--there is no rule the object properties didn't change
so due to that error is coming..by opening the object
repository window then u can click on the update from the
application icon then it is updated so that u can run your
code sucessfully....

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the recording modes in wave event?

1538


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

1334


What is post recovery scenario?

1647


What is contained in the object repository?

619


What are the two types of repositories available, explain them?

594






How to use actions in qtp ?

589


Can we create a qtp test from qc?

588


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1421


What are the steps involved in recovery scenario wizard?

529


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1503


i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)

1555


What is the difference between local and shared object repository in qtp?

565


what frame work you are following?

1526


regular expression in qtp standar check point for months from accepting months from january to december only

1475


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1466