MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Docs? Over 10 years old?
Current time: 04-05-2020, 08:51 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Docs? Over 10 years old?
02-29-2020, 02:48 AM
Post: #1
Docs? Over 10 years old?
There's a couple issues I'm encountering with the Docs for Scripts. Maybe this tool isn't for my Single Page App. And I need something else. But here goes:

I'm trying to get past the Login Page so I can setup tests on specific functions. But the Docs reference things that no longer exist... I.e.

"You can test a script in the desktop version by selecting "Run Script" from the File menu."

Where do I get this "desktop version". I see no other reference to it except a dead one from 2012.

The example given for doing a login and test is on:

navigate http://webmail.aol.com

But the steps, page, etc do not match so it doesn't work. I was able to get this site and another to work, but my site does not.

I can get content in my username/password but the "Login" button is not getting clicked.

<form class="login-form form-horizontal">
<.....>
<a class="btn base-web-button" type="submit" id="login_btn">Login</a>

I've tried:
clickAndWait id=login_btn
clickAndWait innerText=Login
submitForm class=login-form
submitForm name=login-form
clickAndWait value=login_btn

Nothing is working, help. Here's my full script:

logdata 0
navigate https://local.mylocal#site.com // altered for security
setValue id=loginEmail myuser@gmail.com
setValue id=loginPassword myuserpassword
clickAndWait id=login_btn
logdata 1
sleep 10
navigate https://local.mylocal#site.com
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Docs? Over 10 years old? - dfecker - 02-29-2020 02:48 AM
RE: Docs? Over 10 years old? - andydavies - 03-03-2020, 12:13 AM

Forum Jump:


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