Help with my Functional Testing situation

How to apply eValid to functional testing of web applications.

Help with my Functional Testing situation

Postby ErickP » Thu Jul 30, 2020 12:50 pm

Afternoon all.

Can I run my own JavaScript passage in eValid before I run my regular tests?

My little program does some critical things to a page that are needed to make the page "realistic" for the functional test sequence.

Any suggestions/solutions that I can use for my situation?

Thanks
ErickP
 
Posts: 1
Joined: Thu Jul 30, 2020 12:45 pm

Re: Help with my Functional Testing situation

Postby eValid » Fri Jul 31, 2020 9:32 am

ErickP wrote:Afternoon all.

Can I run my own JavaScript passage in eValid before I run my regular tests?

My little program does some critical things to a page that are needed to make the page "realistic" for the functional test sequence.

Any suggestions/solutions that I can use for my situation?

Thanks


That is an unusual questions, but it is understandable ErickP.

Here is how you call your own JavaScript passage:

CallJavaScript wid "function([argument [, argument]])" "frame_path"

Now, that "function" must already have been loaded into the page because otherwise, if the function is not found by the browser this command has no meaning and eValid will throw a JavaScript error flag.

So, you have to make sure your JavaScript is already there even if it is not invoked in normal operation of the page.

You would probably do this by adding it in at the server level and thus just carrying it along with the page download process.


-- eValid Support
eValid
 
Posts: 2045
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

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