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

1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

1521


Explain the adodb.stream class?

547


how does vb script help in web page designing? explain with example.

1586


Mention what is the main difference between function and sub-procedure?

551


How are values assigned to the variables in the vbscript language?

575






Mention how to create a cookie using vbscript?

532


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1540


how to automatically update the sql server2005 database records when insert in vb6?

1487


Which data type/types are supported by vbscript language and what are their specialties?

596


What are the uses of vb script?

587


how to write validation function for date in vb script

2144


How to Convert Hex color code to color name in VB Script?

3934


What are subprocedures in vbscript?

664


How can the spaces from the string be removed?

593


How will you get the natural logarithm of the given number in vbscript?

605