In a webtable,a list of values are there,rightnow one
values shows,later random another values shows,but how to
retrieve the random value in webtable.



In a webtable,a list of values are there,rightnow one values shows,later random another values sho..

Answer / kavitapriyacr

If the values changes after each criteria/Click then
1. Get the Total number of columns and rows in the table
after you click/ entering criteria.
2. Fetch the each cell data as:
data=Browser().Page().WebTable().GetCellData(row,column)

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

For what purpose to we use object repository in a application?also explain usage of obj.repository?

3 Answers  


Is there any option in QTP to add Java add-in after instaling the QTP?

3 Answers   IBM,


Explain key word driven frame work?How to use in real time?

2 Answers   HP,


How will you test a stapler?

0 Answers  


how and what kind of vb functions do us ein QTP?

2 Answers   Ordain Solutions,






Explain types of exception handling and script for that?

2 Answers  


Explain features of the latest version of qtp/ uft 12.1?

0 Answers  


We have an action attached with the library file in QTP. When I will click on run button,which file is going to be executed first a)Action b)Library

1 Answers  


What is the extension of the qtp local repository?

0 Answers  


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

0 Answers   Infotech,


Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects

3 Answers   Ordain Solutions,


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

0 Answers  


Categories