Hi friends,
I have heard that it is required to have an application
hosted in the same machine where we use QTP. Otherwise QTP
may identify the objects incorrectly.
Please clear me is it true.
Answers were Sorted based on User's Feedback
Answer / nipun kumar
Hi Sanjeet,
Thanks for ur time and answer.
But my problem is , QTP is capturing no action on a
particular page in the application that I am trying to
automate. But on the same side its working fine on other
pages of the same application.
Can u please or some one else help me understand the reason
behind this inconsistency.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / deepak
Hey try using only necessary add-ins and remove rest of
them.If its a web application keep only VB and Web addins
and then try.Sometimes it happens if the page is having
large amount of data.
| Is This Answer Correct ? | 0 Yes | 1 No |
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
What is environment variable in qtp and why to use it?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
If a object property is changed in the application. where it should be updated in QTP... Pls anybody can give the answer.. Thanks in advance...
What is the diffrence bettween QTP 9.0 and QTP 9.1?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
write code to read and write data from file?
How to make arguments optional in a function?
how to lunch the application in the qtp tool ?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
How will you declare a variable in qtp?