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

can any body give the code to write the function for given
suppose user login with usrer id and pwd to yahoomail.after
cliking "sign in"if it is valid user id the next page will
display userid'message box.( Note u have to use excel sheet
to retrive the userid's data)

Answer Posted / bfakruddin

Hello Mr.Badri,

Script is good,
if anybody don't know scripting they will feel difficult to understand your script, please reduce complexity while answering, here no need to use always reporter events you can display with msgbox or with print statements.

How do you think this is correct validation,
--> you get the user name from excel sheet and placed in user name field.
--> you get the text available in user name field again
--> validating these two values.
no test case will be fail if you do testing like this.

you forgot one more thing you have to click Sign In button with out doing this how could you conclude that the user is valid or not....!

Once you get Home page or mail box page then you can conclude that user name is valid
or
If you don't get any error msg or popup after clicking on Login In then also you can ensure that the user is valid.

If anybody want me to give code, I will give.

above code also correct but some what complexity...!

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When to use function procedures and what are its characteristics?

1082


What is the use of the date function in the vbscript language?

1049


Explain about .wsf files?

1146


who will create the object?

1967


Mention what is the use of option explicit in vbscript?

1007


When does ‘on click of button’ event gets triggered in the vbscript language?

1022


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1110


How to Import data from a file (file is on the desktop) to the data table

2006


How regexp.execute method works?

1073


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

1024


What is difference between vbscript and vba?

1221


Mention when to use function procedures and what are its characteristics?

1122


How to delete a cookie using vbscript?

1156


What is the main difference between function and sub-procedure?

1064


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

2349