ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Can anyone tell me what is the equivalant method to be used 
in QTP for "web_obj_get_text" used in winrunner. My 
winrunner code is below.

set_window("Confirm Add Subscriber");
rc = web_obj_get_text("Add 
subscriber:","#8","#1",orderID,"The order number 
is","\.",1);


basically I need to retrieved the "orderID " from a string 
present in 8th row & 1st col of table "Add subscriber"
 Question Submitted By :: Pranjit
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
Answer
# 1
textVar=browser("").page("").webtable("").getcelldata(8,1)



(table object will come only in web applications.)
 
Is This Answer Correct ?    0 Yes 0 No
Bkiranratna
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
what is the exact testing process in qtp plz explin ?  2
Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")  2
What are the abbreviations for tsr and mtr? Ordain-Solutions12
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks  3
HOW CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me sample script for this where there is some condition. like if "text" THEN msgbox() else endif Xavient6
what is smart identification?  5
can objects recogonised without repository? AZTEC8
in process of project exaplnation the defects are says frequently r not?  1
Thanks Rag... One more question, How we test the dynamic images which frequently changed?Using the bitmap checkpoint r any other options available.... Can u give the steps pls... Thanks  1
When we use Object Spy? can we write QTP script before built is came in testing? Impulse2
Does QTP provides any tools for parametarization? BirlaSoft2
What is the differnce between action & script  1
Define QTP ? TCS4
how do u copy object repository?  1
To count the no of links present in the yahoo home page i have written the script like this Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile ("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo! India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing While running the script it showing error that object "yahoo"isnot found in the object repository. Is there any setting before running the script? if yes what is the steps for it.Im using QTP9.0  2
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running. Virtusa3
What is the difference between QTP 8.2 and QTP 9.2 ? Infotech2
How to enable the text check point in qtp? By default it is disables ssinformatics1
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that ............. Satyam3
Please Explain The QTP real Testing process with steps.  3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com