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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / pravati
u can check the object property in object repository and add or remove the wanted properties which are newly developed or coded for these objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gangadhar
first associate the repository to the script and run the script
| Is This Answer Correct ? | 0 Yes | 3 No |
Hai anyone please "Explain about Framework in QTP?"
If I give some thousand tests to execute in two days what do you do?
what is difference betweein qtp 9.0 and 9.2
What is recovery scenario manager? When you go for recovery scenario manager?
how we connect oracle or sql data server database to qtp. Hi Ram I was your answer for this. Can you kindly let me know in details steps on How we can connect to database. i am using QTP9.2 and SQL Server Database. I am new for QTP and this would be of great help.Thanks
write a vb script to print even numbers from 1-50?
6 Answers Kclink Technologies, Logica CMG,
Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks
Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable.
I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next
How can i parameterize the standard checkpoint using Excel sheet where my expected values are there?? suppose i want to test a application with diffent value and want to run 5 iteration?? for each iteration, values will be exported from excel sheet as input. Now i will store some expected values in the excel sheet, which i want to check in the application whether expected equals to actual value??? can any one help me
Hi, My application is a web application which was developed by Java. In that application we have applets to do some operations. Is it possible to recognize applets using QTP? If yes, how? pls, help me this
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script