Skip to content

Commit e4bae8b

Browse files
author
Polo
committed
Adding ids and classes to sandbox pages
1 parent f964621 commit e4bae8b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

SeleniumClientTest/SandBox/iframeContent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</head>
66
<body>
77
<h2>Iframe content</h2>
8-
<form action="formReceptor.php" method="post">
8+
<form id="iframeForm" class="forms" action="formReceptor.php" method="post">
99
<p><input id="txt1" name="txt1" type="text" /></p>
1010
<p>
1111
<select id="sel1" name="sel1">

SeleniumClientTest/SandBox/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ function addElement(elementType, elementId, containerId, timeout)
3131
</head>
3232
<body>
3333
<h2>Nearsoft SeleniumClient SandBox</h2>
34-
<table style="width: 100%;">
34+
<table id="table1" class="tables" style="width: 100%;">
3535
<tr>
3636
<td style="width: 50%; vertical-align: top;">
3737
<fieldset>
3838
<legend>Form elements</legend>
39-
<form action="formReceptor.php" method="post">
39+
<form id="mainForm" class="forms" action="formReceptor.php" method="post">
4040
<p><input id="txt1" name="txt1" type="text" /></p>
4141
<p><input id="txt2" name="txt2" type="text" value="Default text" /></p>
4242
<p>
@@ -76,8 +76,8 @@ function addElement(elementType, elementId, containerId, timeout)
7676
<td style="width: 50%; vertical-align: top;">
7777
<fieldset>
7878
<legend>Page elements</legend>
79-
<p>Simple paragraph</p>
80-
<p><a href="http://www.nearsoft.com">Go to nearsoft.com</a></p>
79+
<p id="p1" class="paragraphs">Simple paragraph</p>
80+
<p id="p2" class="paragraphs">Go to <a href="http://www.nearsoft.com">nearsoft.com</a></p>
8181
<p><input id="btnAlert" type="button" value="Bring up alert" onclick="javascript:alert('Here is the alert');" /></p>
8282
<p><input id="btnPrompt" type="button" value="Bring up prompt" onclick="javascript:var p=prompt('Enter some text');alert(p);" /></p>
8383
<p>

SeleniumClientTest/SandBox/popUpContent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</head>
66
<body>
77
<h2>Popup content</h2>
8-
<form action="formReceptor.php" method="post">
8+
<form id="popupForm" class="forms" action="formReceptor.php" method="post">
99
<p><input id="txt1" name="txt1" type="text" /></p>
1010
<p>
1111
<select id="sel1" name="sel1">

0 commit comments

Comments
 (0)