What is Object Spy?

Answer Posted / pratap

How to get data from listbox in qtp, I have 2 columns names
in browser, column one can have Emp names and column two
can have salary ahd each employee can have listbox in column
two,
We want to featch emp name from col one and corsponding list
box value in column 2.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

701


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1339


Explain the difference between check point and output value?

495


What are the ordinal identifiers in web page?

640


Explain how Does Run time data (Parameterization) is handled in QTP?

559






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

1337


How do I get the QTP scripts result in xml format by using vb script function?

1785


What are the different types of functions available in qtp and explain ?

569


what type of framework u r using in ur organization

1651


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1500


How to associate shared object repository to test in qtp?

505


What is quicktest professional window?

563


what is the difference between modular framework & datadriven framework

1597


What is the latest version of qtp?

585


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

1946