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
anybody give me the real time example for descriptive
programming of web application
 Question Submitted By :: Anand
I also faced this Question!!     Rank Answer Posted By  
 
  Re: anybody give me the real time example for descriptive programming of web application
Answer
# 1
web  appication  testing  means  testing   the external 
link  &  internal  link   of  the  web   page.
 
Is This Answer Correct ?    0 Yes 0 No
Rama
 
  Re: anybody give me the real time example for descriptive programming of web application
Answer
# 2
Descriptive programming means nothing but loading the object
respository by writing code not by recording..
 
Is This Answer Correct ?    0 Yes 0 No
Nash
 
 
 
  Re: anybody give me the real time example for descriptive programming of web application
Answer
# 3
dp means without using repositury tool will identify the 
object using property values.
ex browser("name").page("name").webbutton("name")

for this line descriptive program is

browser("window id:=1005").page("window 
id:=22").webbutton("window id:=787")

we can use any property but that should be unique
here i used window id like that we can use any propery.
 
Is This Answer Correct ?    0 Yes 0 No
Vvgiri2k6
[Logica CMG]
 
  Re: anybody give me the real time example for descriptive programming of web application
Answer
# 4
DP is advance topic in QTP. With out loding obj in repo... 
we can access them..... this is one of the example for that

systemutil.Run("http://www.rediffmail.com")

set BRO =Description.Create()
BRO("title").Value = "Welcome to Rediff.com India"
BRO("name").value ="Welcome to Rediff.com India"
BRO("openedbytestingtool").value= true


Set PG =Description.Create()
PG("title").value="Welcome to Rediff.com India"
PG("url").value="http://www.rediff.com/index.html"

Set UN =Description.Create()
UN("name").value= "login"
UN("Class Name").value ="WebEdit"
UN("type").value= "text"
UN("html tag").value="INPUT"

Set PWD =Description.Create()
PWD("name").value ="passwd"
PWD("Class Name").value="WebEdit"
PWD("type").value="password"
PWD("html tag").value="INPUT"

Set Login =Description.Create()
Login("name").value ="Go"
Login("Class Name").value="WebButton"
Login("type").value="submit"
Login("html tag").value="INPUT"
Login("value").value="GO"
Login("class").value="rmailgobtn"

temp= Browser("Welcome to Rediff.com").Page("Welcome to 
Rediff.com").WebElement("ShockwaveFlash1").Exist
If temp= true Then
    'Browser("Welcome to Rediff.com").Page("Welcome to 
Rediff.com").WebElement("ShockwaveFlash1").
End If


Browser(BRO).Page(PG).WebEdit(UN).Set "shyam_sad" 
Browser(BRO).Page(PG).WebEdit(PWD).Set "7shyam" 
Browser(BRO).Page(PG).WebButton(Login).Click
 
Is This Answer Correct ?    1 Yes 0 No
Shyam.meghansh
[Hydus Technologies (INIDA) Pvt Ltd]
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri  7
pls tell me different type of automation frame works in QTP and which one need to select in client server application Syntel5
please send detail navigation for merging of object ripositories in QTP 8.2 Ordain-Solutions3
How can we add regular expression for date field (dd/mon/yyyy)? CTS2
suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test each window? i.e. how qtp indetifies these objects separately? Wipro7
Can any one tell the different properties and values of differnt objects like Browser,Page,link,webedit,webcombobox,webradio botton,webcheckbox and web button.Because I am facing a lot of problems in interviews with Descriptive Programing.I never worked on web Application...Pls help any one as soon as possible....  1
WHAT IS PARAMITARIZATION?  8
how much space occupies in object respository by default? VSoft3
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project Yahoo2
In QTP where i have to concentrate more in the Interview point of View  1
QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance. UHG2
Give me the Example of standard check point and text check point with syntax? IMI-Soft-Engineering2
How to retrieve the property of an object in QTP?  3
what is the use of VIRTUAL OBJECTS? explain ?  4
What are the file extensions for per-action, shared object repository files and what is the extension for library files? Semantic-Space5
how to identify the user defind varibles? plz tell me  1
what is test data Wipro3
OR is full with objects but i want to add 5 more objects,but i tried merging files,shared mode and descriptive ,iwont work.is there any alternative for that CTS3
what is keyword driven framework in qtp. TCS4
1.how can we report the QTP test result in a different excel sheet 2. Aurigo2
 
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