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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
Any one knows about descriptive programming to identify 
objects in a page?
Kindly drop me mail
prasanna.sabat@gmail.com
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Any one knows about descriptive programming to identify objects in a page? Kindly drop me mail prasanna.sabat@gmail.com
Answer
# 1
Hi .. I am murali from blore..
 
in my company this way to we write descriptive 
programming...
 
if u have an internet and qtp 8.2 or 9 run the below script 
in ur machine..
 
Browser("title:=Welcome to Gmail").Page("title:=Welcome to 
Gmail").WebEdit
("type:=text","name:=Email").Set "prasanna.sabat"
Browser("title:=Welcome to Gmail").Page("title:=Welcome to 
Gmail").WebEdit
("type:=password","name:=passwd").set "urpwd" 
Browser("title:=Welcome to Gmail").Page("title:=Welcome to 
Gmail").WebButton("type:=submit","name:=Sign in").click
 
did u understand the abvoe code...?
 
otherwise call to me..
 
09845135495
bangalore...
 
Is This Answer Correct ?    0 Yes 1 No
Murali Raju
 
  Re: Any one knows about descriptive programming to identify objects in a page? Kindly drop me mail prasanna.sabat@gmail.com
Answer
# 2
BY DP
Dim obj_ChkDesc

Set obj_ChkDesc=Description.Create
obj_ChkDesc(?html tag?).value = ?INPUT?
obj_ChkDesc(?type?).value = ?checkbox?

Dim allCheckboxes, singleCheckBox

Set  allCheckboxes = Browse(?Browser?).Page
(?Page?).ChildObjects(obj_ChkDesc)

For each singleCheckBox in allCheckboxes

singleCheckBox.Set ?ON?

Next

Go to help section in QTP and see for other objects like 
webEdit, webtable, webelement.
 
Is This Answer Correct ?    0 Yes 1 No
Ycy
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically.. Thatavarti-Technologies3
what is the Vbscript to connect Database IBM3
In QTP where i have to concentrate more in the Interview point of View  1
How to capture data from images in QTP and produce them in Excel sheet ? please ans... Sapient2
What is API Satyam1
I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this? AZTEC5
how to identify an object which is not in the object repository identification can be done using descriptive programming.  2
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.  3
how can we test load time of an page in webtesting? Ordain-Solutions2
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP iLink2
anyone can explain about "Hybrid framework" in QTP  2
What is the logic for reading(exporting)the data from flat files to QTP?Can anyone explain me with an example? I appreciate it!!! Thanks!!! Prasanna  1
I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm? I used the add fn also.. BirlaSoft3
What is the disadvantage of smart identification? Sony2
what skills needed to be good test automation?  1
How to get Links count in an web application,without descriptive programming?  7
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.  2
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?  1
I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.  4
While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts  2
 
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