open notepad enter the following:
name (press tab)mark
ram (presstab)45
priya(press tab) 56
save the file as .txt
open the tool:
right click in the first cell and select import file
select the saved notepad file
now the entered values have been populated in the datatable
Hi Sunitha
u r not Correct!
Username Password
chaitu mercury
vamci mercury
This is Actually Procedures
Set fso = CreateObject("Scripting.FileSystemObject")
Set fs = fso.OpentextFile("Path of the file")
While AtendoftheLine <> 0
f = fs.ReadLine
x = split(f," ")
Msgbox x(0)
Msgbox x(1)
Browser(Browser).Page(Page).WebEdit(username).Set x(0)
Browser(Browser).Page(Page).WebEdit(Passwrod).Set x(1)
wend
i think its working try this.........
how to write a program to accept names and marks of 10
students from the user and display the names and markes of
only the passed students. Marks greater than or equal to
35 is considered as pass.
How to write a reusable function for testing an "Button"
Objects in a page without passing the page name to a
function? (Think if page names are dynamic and doesn't have
any pattern matching between each page). Send me code which
works in QTP 9.2.....