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  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
we have a link in a website or webtable How can we record
link in that table or  site? link is not static we don't
know exact location of that link? how ? if u know pls give
reply with script also?
 Question Submitted By :: Veda
I also faced this Question!!     Rank Answer Posted By  
 
  Re: we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
Answer
# 1
I think with discriptive programing  but i don't know how
to use that discriptive programing in this situation.
 
Is This Answer Correct ?    1 Yes 0 No
Veda
 
  Re: we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
Answer
# 2
Descriptive programming will solve this problem. You have 
to write the property name and you can assign the dynamic 
value of that property. The problem with descriptive 
programming is, if you are using descriptive programming 
for the top level object you have to use the descriptive 
programing for the child objects also. But if you are using 
it for child objects you dont neet to use for parent 
objects.

Example of Descriptive Programming:
JavaWindow("title:="&Value12).Activate

here title is the Object Property. And Value12 is its 
value. you can use dataTable also for the value

Example:
JavaWindow("title:="&DataTable
("Value",dtLocalSheet)).Activate
 
Is This Answer Correct ?    0 Yes 0 No
Naaz
 
 
 
  Re: we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
Answer
# 3
rowcount=b().p().webtable().rowcount()
for i=2 to rowcount
set obj_lnk=b().P().Webtable().childitem(i,j,"Link",0)
obj_lnk.click
 
Is This Answer Correct ?    2 Yes 0 No
Geeta
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close  5
What is the difference Between LowLevel and Normal Recording Modes?  1
What is parameterization? What is syncronization pt.? Semantic-Space3
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it  3
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?  2
how we do database testing with qtp using descriptive programming? Nutrins8
What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?  4
What is keyword view and Expert view in QTP? Ordain-Solutions5
How to call a function in QTP?Is there any method ? Thanks , PRASANNA  2
Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.  2
how do u copy object repository?  1
How do you learn the object in QTP?  1
I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate hyperlink2? Polaris3
Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil  1
what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them. Intel9
How do u connect database through QTP tell me both Ms Access and SQL Livetek2
How to "Turn Off" QTP results after running a Script?  2
how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this. Accenture2
How can we use the "CreateObject("Wscript.Shell")" in QTP and what is the definition and purpose of it?  1
I would like to do some certifications in QTP. please suggese what kind of certifications can i do. I am currently put up at chennai. So please suggest some reputed centres where these courses are offered.  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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