Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Apart from VB script What are the fundamental criteria to
gain the knowledge to write QTP script without OR and
recording ?

Answer Posted / suresh.testing

In order to develop this script we should know the test
object descriptive properties & values (By using objectspy)

Ex:Static Descriptive program for login page(Banking
application)


Browser("name:=usRanfordbank").Page("title:=Ranfordbank").WebEdit("html
id:=txtuid").Set "Admin"

Browser("name:=usRanfordbank").Page("title:=Ranfordbank").WebEdit("html
id:=txtpwd").Set "suresh"

Browser("name:=usRanfordbank").Page("title:=Ranfordbank").Image("html
id:=login").Click

------------------------------------------------------------Ex:
Dynamic Descriptive program for login page (banking application

set br=description.create
br("name").value="usRanfordbank"

set pg=description.create
pg("title").value="usRanfordbank"

set uid=description.create
uid("html id").value="txtuid"

set pwd=description.create
pwd("html id").value="txtpwd"

set img=description.create
img("html id").value="login"

Browser(br).Page(pg).WebEdit(uid).Set "Admin"

Browser(br).Page(pg).WebEdit(pwd).Set "suresh"

Browser(br).Page(pg).Image(img).Click

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

1014


what is meant by Implicit and explicit requirements?

4095


what is clean sweep?

1986


How to use conditional loops in qtp ?

1048


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

2024


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

2279


On what document base Descriptive programming is written if build is not yet ready ?

1417


What is the architecture of your project? Can any one answer for this question plz........

1875


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1747


Explain different types of checkpoints?

1023


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

2040


What are the general steps involved in the data driven framework?

1019


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

1028


Explain different recording modes?

1032


Which functionalities of QTP used in banking project?

2442