Hi,
How to access External Style Sheet using watir?
I have to write a test case to test UI for a screen.The screen has a table and desciption of html elements for this is called from a class displaytag.
This class is in a .css file in a different location.The html has the href for the same.
Is there a way to access this class in my test case to test the font, alignment and other UI of the table?
HTML for the same is as given below:
<html>
<head>
<link rel="stylesheet" type="text/css" href="" />
<SCRIPT LANGUAGE="_javascript_">
</SCRIPT>
</head>
<head>
<link rel="stylesheet" type="text/css" href="" />
<SCRIPT LANGUAGE="_javascript_">
</SCRIPT>
</head>
<table class="displaytag" cellspacing="1" id="table1">
<thead>
<tr>
<th align="right">Heading 1</th>
<th align="right">Heading 2</th>
<th align="right">Heading 3</th>
<tbody>
<tr class="odd">
<td align="right">
<thead>
<tr>
<th align="right">Heading 1</th>
<th align="right">Heading 2</th>
<th align="right">Heading 3</th>
<tbody>
<tr class="odd">
<td align="right">
1/1
</td>
</td>
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
