Current time: 12-18-2017, 09:08 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run a test without opening a new browser
10-16-2015, 07:59 PM
Post: #1
Run a test without opening a new browser
Hi,

I'm new with WPT and I have a private instance of server and agent. Both works fine running simple scripts.

But I need to run some complex scripts and I'm not sure if WPT is what I need.



First of all I made a simple C# program that send a task to the WPT server and waits until it ends, then parses the report and store all the info in a DDBB.

But I want to make a task that simulates the user behaviour inside a web site:


- Open web page.
- Check if element is present and if not then throws an error
- Write username and password, then click submit button and login
- Check if element is present and if not then throws an error
- Make click in a link
- Check if element is present and if not then throws an error
[...]


Check if an element is loaded isn't a problem because I just need to search for it inside the parsed report.

Is it possible to send a task that not closes the browser and then send another task that uses the previous browser instance? Huh

Thanks.
Find all posts by this user
Quote this message in a reply
10-17-2015, 02:03 AM
Post: #2
RE: Run a test without opening a new browser
Take a look at WPT scripting - https://sites.google.com/a/webpagetest.o.../scripting

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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