Current time: 09-20-2019, 08:13 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exec commands not working
05-08-2015, 03:09 AM (This post was last modified: 05-08-2015 03:12 AM by nweinert.)
Post: #1
exec commands not working
I have a private instance running and am trying to log into a website using a script.

I am succesfully able to fill in the form fields using setValue, and I can submit the form using submitForm or by clicking on the Submit button. However, there is some validation that has to run, and I need to use JavaScript to ensure that it runs properly. I tried using exec to run some commands but I do not think any of JavaScript is actually being run.

In order to test that theory I started trying very basic commands such as

exec alert('test')

or

exec console.log(1)

I see nothing in the console and no alert pops up when the test is run. How can I tell if the exec commands are working properly?

Environment Details:
OS of Test Agent: Win7 (x86)
Test Browser: Chrome (latest)

Thanks,
Noah
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)