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 499 of 663    Print  
how to check how many web tables are there in a webpage?

  
Total Answers and Comments: 2 Last Update: September 05, 2008     Asked by: John Vinay 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 05, 2008 10:52:25   #1  
akothuru Member Since: April 2008   Contribution: 49    

RE: how to check how many web tables are there in a webpage?

Set oDesc Description.Create()
oDesc("html tag").Value "TABLE"

' Get a collection of webtable
Set oCollection Browser(“name: test”).Page(“title: test”).ChildObjects(oDesc)
webTableCnt oCollection.Count-1



 
Is this answer useful? Yes | No
September 05, 2008 10:53:04   #2  
akothuru Member Since: April 2008   Contribution: 49    

RE: how to check how many web tables are there in a webpage?

use the following code to count no . of web tables in the web page

Set oDesc Description.Create()
oDesc("html tag").Value "TABLE"

' Get a collection of webtable
Set oCollection Browser(“name: test”).Page(“title: test”).ChildObjects(oDesc)
webTableCnt oCollection.Count-1



 
Is this answer useful? Yes | No

 Related Questions

I am testing an application that sends certain data to users. How do i check that the user will not receive excess data. I mean I can go in and sign in as the user and insert a standard checkpoint...but that only checks the data integrity, it does not check if the user received excess data. Please help..any suggestions are welcomed
Read Answers (2) | Asked by : Raj

1. I don't want my application to open when while running the scripts. is it possible through QTP like that?2. Is it possible to make 100 users login at the same time to check load through QTP?

Can anybody tell me the purpose of output checkpoints in QTP. how u r testing the text data through text checkpoints. how u r testing text data in the webpage through parameterization. my application is web based application. my requirement is i am retriving the data from the database to webpage. i put text checkpoint on the text, but problem is the parameterization. can anybody help me with code. i will appreciate if anybody can say
Read Answers (3) | Asked by : manoj_k3

Hi Friends,I want to test an web Application using QTP. The problem is, the texts/images appearing in the screen are not allowed to be selected.In such a cease how can I insert 'Text' Check points?Is there any alternative available?Please let me know if you have any idea. Thanks in advance for your help.Regards,Pradeep
Read Answers (1) | Asked by : pradeeps

I am trying to put text area check point , but some time it pass & some time it fails , i think problum in selection of area , can any body please guide me & if anybody has good learing material then plz send me on harish_behl1981@yahoo.com
View Question | Asked by : Harish Behl

View Question | Asked by : kumar sundaram

Hi,We are using a Java Application. While creating a Text Check point, QTP displays the message stating 'Cannot create text check point...cannot retrieve text for this object'...why is this so? and what is the work around...Please clarify.Thanks.
View Question | Asked by : rohinik

In a Combobox(or) ListBox there some Values ...like...1,2,3,4. Using QTP how Check these Values are ....Dislying or not...Please Can any one Give the VB Script .....
Read Answers (1) | Asked by : kareem

Hi,I am New to QTP.Can anyone solve my queryWhen i tried to insert the Standard check point for checking a particular object's properties for example if i want to check the OK button's properties i am doing the Record->Insert->Check Point-> Standard Check point and then it displays the check point properties dialog box with the default properties.But in that i dont have x,y coordinates and the Height which i wanted to test.Pls any one explain how to test all the properties or the desired
Read Answers (5) | Asked by : Murali

Latest Answer : there is only one datatable in QTP  i.e  EXCEL SHEET, in that we have  1.Local sheet                            ...
Read Answers (1) | Asked by : divya


 Sponsored Links

 
Related Articles

Quality Aspects to Check While Writing COBOL Program

Quality Aspects to Check While Writing COBOL Program This article gives a general list which the programmer must check while delivering programs developed in COBOL This can also be used as a general checklist for checking quality of the COBOL program developed mosgoogle Quality is a vital factor fo
 

How To Create High Quality Tables With JavaScript

How To Create High Quality Tables With JavaScript If you are web program developer it is likely that you are creating tables on a daily basis In this article I will show you how to create high quality tables with Javascript within a short period of time One feature that you will want to become famil
 

Oracle 10g Tutorials -Creating Index-Organized Tables

Oracle 10g Free Training Creating Index Organized Tables Let us learn about Creating Index Organized Tables by Creating an Index Organized Table further by Creating Index Organized Tables that Contain Object Types and also you will learn how to View Information about Tables mosgoogle Creating Index
 

Oracle 10g Tutorials: Altering Tables

Oracle 10g Free Training Altering Tables In this training you will learn about Altering Tables Modifying an Existing Column Definition Adding Table Columns Renaming Table Columns Dropping Table Columns Removing Columns from Tables Marking Columns Unused and Removing Unused Columns Oracle 10g Free Tr
 

Oracle 10g Tutorials : Dropping Tables

Oracle 10g Free Training Dropping Tables In this training you will learn about Dropping Tables Consequences of Dropping a Table CASCADE Clause and the PURGE Clause mosgoogle Dropping Tables To drop a table that you no longer need use the DROP TABLE statement The table must be contained in your schem
 

Oracle 10g Tutorials : Creating Tables

Oracle 10g Free Training Creating Tables In this training you will learn about Creating Tables and Parallelizing Table Creation mosgoogle Creating Tables To create a new table in your schema you must have the CREATE TABLE system privilege To create a table in another user s schema you must have the
 

Oracle 10g Tutorials: Tables

Oracle 10g Free Training Tables In this tutorial you will learn about Tables Summary of Oracle Built In Datatypes Types of tables Restrictions to consider when Creating Tables along with logical databse limits mosgoogle Tables Tables are the basic unit of data storage in an Oracle Database A table
 

Tutorial 6: Tables and Constraints

In week 6 of our Oracle 9i training course we will be learning about Data types with the differences between different Oracle versions creating tables altering tables droping tables Integrity constraints supported by Oracle Inserting records Modifying the records and deleteting the records If you ca
 

Tutorial 5: Working with Multiple Tables

This week we will learn Working with multiple Tables which covers Joins Inner Join; Using Table Aliases; Outer Join; Self Join; Non Equi Join Subqueries Simple Subqueries; Multilevel Subqueries; Correlated Subqueries; Predicates Set Operators Set Operator Examples mosgoogle Aliases An alias
 

Be Prepared for Tech Job Cuts

Even one of the most flourishing and possibly the strongest industries of the future are not experiencing the economic crunch. The tech industry is now experiencing massive job losses in different categories. Although you will still see innovations almost every day from the tech industry through th
 





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