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

I wrote the vbscript code on notepad i was geeting run time
error "object required line 1" my code is
set usernameobj=Descriptive.Create()
usernameobj( "name").value="Username"
set passwordobj=Descriptive.Create()
passwordobj("name").value="password"
set signinobj=Descriptive.Create()
signin("name").value="sigin"
browser("gmail").page("gmail").WebEdit("usernameobj").set
("enter username")
Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec
ure.Crypt.Encrypt("entr password")
browser("gmail").page("gmail").WebButton("siginobj").click
pls tell me whats wrong

Answer Posted / niranjani

Hi,

You have created signinobj but while describing you have given signin, it should be signinobj

set signinobj=Descriptive.Create()
signin("name").value="sigin"

fine below the updated code

set signinobj=Descriptive.Create()
signinobj("name").value="sigin"

i hope it should work
all the best

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which operator can be used to change the value of the operand or change the state of the condition?

963


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

911


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

2285


what is used of Property........End Property loop ? how to write the script for it?

2181


What is the technology used by vb script?

915


What is purpose of scripting.filesystemobject class in vbscript?

1061


How can constants be declared in the vbscript language?

942


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

962


How to access array data?

942


How can you create an object in vbscript?

1020


What is the difference between VBScript and JavaScript?

2627


Which event is triggered when mouse focus comes out of an element in the vbscript language?

905


Which in-built function related to an array joins substrings into one string in the vbscript language?

905


Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks

2086


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

948