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...

how to write script in qtp(vbscript)..i mean with out
application deployed..and how to call script1 into script2?

Answer Posted / bfakruddin

Hello Bilal,

first try to get the value available in fields... by using
getroproperty

eg:

inp1=object.getroproperty("text")
inp2=object.getroproperty("text")

res1=len(inp1)
res2=len(inp2)

if (res1=0)&(res2=0) Then

msgbox "Fields are Empty"

End if

try to use above code and update as per your requirement
and execute... It will work

else let me know... What the error you are getting

Thanks & regards
Baba Fakruddin.D

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does QTP identify an object?

994


What is Test Fusion Report in QTP?

1118


Object repositories types, which and when to use?

1032


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2513


We stored into the objects OR and then write the scripting

1990


How to remove associated function library?

957


What are the properties you would use for identifying a browser and page when using descriptive programming?

986


What are the different types of checkpoints?

1011


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1996


What is the syntax for how to call one script from another?

1000


Explain in brief about the quicktest professional automation object model?

915


What are the common defects found in your project? (in qtp interview)

2013


In qtp, how you can use xpath to identify objects?

1034


What is the short cut keys for the following?

1075


How can i initiate the objects to find uniquely in OR

1866