Reading the data from the text or excel file

How to use eValid to support regression testing.

Reading the data from the text or excel file

Postby hansk » Fri Oct 16, 2009 10:41 pm

I have one more quick question.

Here is our over all requriement

Summary of our requirements:
1. Reading data from text or excel file
2. Automate user inputs using different screen controls on the
webpage like "Dropdown list", "Text Box", "Push button" etc
3. Navigating different tab sections of the same webpage and capture
the screen shots in case of errors

I discussed only reading the data from the text or excel file part, will
that be possible rest of other two requirements ?

If so guide me with some example or documentation.

Pls let me know.
hansk
 
Posts: 5
Joined: Tue Jun 02, 2009 3:43 pm

Re: Reading the data from the text or excel file

Postby eValid » Fri Oct 16, 2009 10:45 pm

I'll try...

(1) eValid input files are all text files. For Excel you will
first need to write the data to a text file so eValid can process
it...SystemCallWait is one way to do that...

(2) Not sure what you mean here...basically for one screen
that has, say, a dropdown list, the script you record captures
the details of that object...

If you have different objects, eValid records handling them
differently.

You could use CallScript dropdown.list.evs, for example, to
invoke a dropdown.list.evs script. Separate scripts for
each kind of object.

Also, in the index/motion = structural commands you could
generalize that quite a bit...

Is that what you are getting at?

(3) For that you use the OnErrorGoScript command...

eValid, during playback, has ERROR, WARNING, ALARM and TIMEOUT flags that
can be used to adjust the flow of control as described here:

http://www.e-Valid.com/Products/Documentation.9/Testing/error.reporting.html
http://www.e-Valid.com/Products/Documentation.9/Technical/script.html#flag

The script that this logic takes you to can use the SaveWindow command,
which saves a screenshot in a specific file based on the names used
for the EventLog...

Hope this helps...


eValid Support Team
eValid
 
Posts: 2067
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Regression Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons