+ [task#127604] Add ui test file of view page.

This commit is contained in:
huairong
2024-09-06 09:43:56 +08:00
committed by 李阳
parent 9610e46d23
commit 8d8e42648a
+13
View File
@@ -0,0 +1,13 @@
<?php
class viewPage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'designName' => "//*[@id='mainContent']/div[2]/div[2]/div/div[2]/table/tbody/tr[1]/td",
'linkedProduct' => "//*[@id='mainContent']/div[2]/div[2]/div/div[2]/table/tbody/tr[2]/td",
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}