GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 632 of 646    Print  
Capturing Webtable Content
How to capture the run time value of the web table?


  
Total Answers and Comments: 1 Last Update: September 02, 2008     Asked by: madhukumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 02, 2008 09:20:55   #1  
akothuru Member Since: April 2008   Contribution: 37    

RE: Capturing Webtable Content
1) If you want to retrieve cell value from Web table, use the below code

var_CellValue = Browser("test").Page("test1").WebTable("test2").GetCellData (rownumber, colNumber)


2) If you want to retirve value from the cell which contains Link, use the below code

Set WebLinkObj = Browser().Page().WebTable().ChildItem(row_number, Link_column_no, "Link", 0)
var_LinkName = WebLinkObj.GetROProperty("name")

3) If you want to retrieve property value from WebTable, use the below code and specify what property value you want to retrieve.

var_Value = Browser().Page().WebTable().GetROProperty("html id")

 
Is this answer useful? Yes | No

 Related Questions

QTP9.0 is not recording the WebElements.It was working before but after few days it is not capturing the WebElement.Is there any settings to be done for thisThanks in advance.
Read Answers (2) | Asked by : uma

While recording the script to enetr a valuae in a textbox in a table in a web page , the text box was object was stored in the following hierarchy:Browser> Windows web page dialog->GlobalReinsurance Home->Formframe.Now when i try to add the Webtable in which the text box is present to the Object repository it is creating a new hierarchy as followsBrowser->global Reinsurance Home->Formframe_4 ->WebtableNow i want this Webtable object to be moved to the first mention hierarchy..How do i move this
View Question | Asked by : qtpqa

In one of the popup window, 1.I have recorded two edit fields by selecting them from a drop down box and after I have selected the options, 'INSERT' field need to appear. But when I am running those steps the option that I have selected is not shown up but the default options are shown up and 'INSERT' button too does not shown up. How to make sure that the selected fields are displayed along with the 'INSERT' link.When I am recording it is recorded as:Browser().Page().WebTable().WebElement(Option

Purpose of the script is:1. Take value from the datatable2. Take row value from the application. Values are displayed in a webtable3. Compare both the values 4. Come out of the For loop when they match 
Latest Answer : I am using IE.Visible = TRUE property.but i am facing problem is that when I am running the IE aplication,form is displayed for a sec and it disappears, is there any way to dusplay the form other then Wait() ...
Read Answers (2) | Asked by : Tulip

Hicould somebody please help. Working on a web app. it has two sections on the left hand side is a list of folders or options. when some option is clicked on, on the right hand side all the stuff in that 
Latest Answer : Or Use this function :InvokeSoftkey "DOWN" and other sub function ...
Read Answers (2) | Asked by : amiqbal

How to capture the run time value of the web table? 
Latest Answer : 1) If you want to retrieve cell value from Web table, use the below codevar_CellValue = Browser("test").Page("test1").WebTable("test2").GetCellData (rownumber, colNumber)2) If you want to retirve value from the cell which ...


 Sponsored Links

 
Related Articles

Content Writer Career

A content writer basically writes about the advertisement and creates ideas to deliver the ad related to the client. The content writer plays a large role in online advertising and news print advertising. There are many methods of advertising within the online media. Examples of this include Adsense
 

WebSphere V5.0 : Web Development - Use content assist

WebSphere V5 0 Web Development Use content assist Content assist helps finish a tag or line of code in the source editor Content assist also enables you to select and insert macros in the Page Designer Source page The placement of the cursor in the source file provides the context for the content as
 

WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content

WebSphere V5 0 Web Development Use Page Designer to add and modify HTML and JSP content including the use of JavaScript In this tutorial you will learn about WebSphere V5 0 Web Development Use Page Designer to add and modify HTML and JSP content including the use of JavaScript Page Designer Working
 

WebSphere V5.0 : Java Development - Use content assist function and declarations

WebSphere V5 0 Java Development Use content assist function and declarations In this tutorial you will learn about Content code assist Using content code assist Add and organize import declarations Add Import Adding required import statements Organize Imports andOrganizing existing import statements
 

ASP.NET 2.0 Tutorials : Creating Content for Master Page

ASP NET 2 0 Tutorials Creating Content for Master Page In this tutorial you will learn how to create contents for a Master Page create a home page add contents to home page and finally test the home page mosgoogle Creating Content for the Master Page The template for the content is now ready We sh
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape