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
What is the difference between for loop and while loop?
How many types of procedures are available in the vbscript language?
What methods are used to create text files and open text files in the vbscript language?
What is the use of the date function in the vbscript language?
What is the scope of a constant declared using public?
How will you compare two strings in vbscript?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
Explain about the functionality of vb script?
Which data type/types are supported by vbscript language and what are their specialties?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Explain the support of asp for vb script functionality?
What are keywords in the vbscript language?
How can you destroy an object in vbscript?
What is the purpose of regexp object in vbscript?
Which in-built function related to an array joins substrings into one string in the vbscript language?