Go to All Forums

Webinar on setting up and editing Synthetic (Real Browser) checks

I know there is a recorder that does all the things automagically but it would be awesome to be able to understand in more detail how the recorder works as well as how to edit the check once it's created including the script.

Things to cover would be, how to find the items you need to use in your check to ensure that the recorder grabbed the correct items.

1.) This is an example script from the recorder after it has been uploaded into Site24x7 (I changed some company info):

begin_step("Step - 1 : Loading - Home Page", "domain.com/")
load_page("domain.com/")
verify_page_load_status()
begin_step("Step - 2 : Click Button", "domain.com/page1")
click_element_by_xpath("//input[@value='Page One']", "", "#SEP#xpath=//input[@value='Page One]#XPATH#//div[2]/input#XPATH##SEP#")
wait_for_page_to_load()
verify_page_load_status()

 

2.) This is an example of a file that can be imported into the recorder:

<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="domain.com/" />
<title>New Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
<td rowspan="1" colspan="3">New Test</td>
</tr>
</thead>
<tbody>
<tr>
<td>setResolution</td>
<td>1600,900</td>
<td></td>
<td></td>
<td>0</td>
<td></td>
  <td></td>
</tr>
<tr>
<td>newStep</td>
<td>Loading - Home Page</td>
<td></td>
<td></td>
<td>1374</td>
<td>domain.com/</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/</td>
<td></td>
<td></td>
<td>0</td>
<td></td>
<td></td>
</tr>
<tr>
<td>newStep</td>
<td>Click Button</td>
<td></td>
<td></td>
<td>2024</td>
<td>domain.com/Page1</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//a[contains(text(),'Button Name')]</td>
<td></td>
<td>#SEP#xpath=//a[contains(text(),'Apply Now')]#XPATH#//div[@id='site-content']/div/div/div/div/div/div/div/a#XPATH##SEP#</td>
<td>0</td>
<td></td>
<td>Click Apply Now</td>
</tr>
</tbody>
</table>
 </body>
</html>

 

In both cases, it would be awesome to understand the backend, script structure and how to build and edit these checks.

Like (2) Reply
Replies (2)

Any Site24x7 admins care to chime in to say if we can ever look forward to something like this in the future?

Like (0) Reply

I think I saw a webinar on Real User Monitoring on the www.site24x7.com/events.html page.

Like (0) Reply

Was this post helpful?