GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 130 of 684    Print  
how to capture the dynamically changing datas in web page thru QTP coding?any sample coding for the above

  
Total Answers and Comments: 6 Last Update: April 30, 2008     Asked by: kannan 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: vknowth
 

Method - GetROProperty can help you better to get the Runtime object properties.



Above answer was rated as good by the following members:
Ritik1008
February 21, 2006 22:23:05   #1  
vknowth Member Since: February 2006   Contribution: 12    

RE: how to capture the dynamically changing datas in w...

Method - GetROProperty can help you better to get the Runtime object properties.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
February 23, 2006 02:42:08   #2  
kannan        

RE: how to capture the dynamically changing datas in w...
thanks you vinoth but can u give me any sample code by using this GETROProperty. so that will be helpful
 
Is this answer useful? Yes | No
March 08, 2006 03:20:24   #3  
ramnarayan        

RE: how to capture the dynamically changing datas in w...
Dim ValueValue Browser( Browser Name ).Page( Page Name ).Frame( mainFrame_5 ).WebElement( 12 ).GetROProperty( innertext )This code takes the value of the attribute innertext of the object 12 which is changing dynamically.This can be checked with an Output Checkpoint
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 14, 2006 15:39:02   #4  
swapna01101981 Member Since: March 2006   Contribution: 10    

RE: how to capture the dynamically changing datas in w...

the content of objects in a web page or application changes due to dynamic content u cn create dynamic descriptions of these objects so that quick test will recognize them when it runs the test. you can use SetToproperty method to modify object properties during test run without changing the properties valuesin the object repository you can use set of the properties that QT uses to identify the object .so that it will be able t identify the object even some of its properties change dynamically. you can use object properties dialog box object repository regular expression in that to identify the object after that use GetRoproperty method to capture the content of dynamically changing object.

syntax:Browser(<browsername>).page(<page name>).webelement(<web object>).SetToProperty Index 2

syntax:Browser(<browsername>).page(<page name>).webelement(<web object>).GetRoProperty(<property>) or use (text)


 
Is this answer useful? Yes | No
February 06, 2008 03:52:33   #5  
basavarajn Member Since: February 2008   Contribution: 1    

RE: how to capture the dynamically changing datas in web page thru QTP coding?any sample coding for the above
By using Regular Expression and by SetRO and GetRO properties we can handle dynamically changing datas in web page.
 
Is this answer useful? Yes | No
April 30, 2008 11:45:03   #6  
kvidy Member Since: April 2008   Contribution: 1    

RE: how to capture the dynamically changing datas in web page thru QTP coding?any sample coding for the above
Is that we can form a loop and run it after every interval ( once we track time duration).
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape