RobotFramework自动化测试框架-Selenium Web自动化(二)关于在RobotFramework中如何使用Selenium很全的总结(上) (5)

javascript:expandAll('s1-s1')javascript:collapseAll('s1-s1')C:\Users\yongqing\AppData\Local\Temp\RIDExpjcyt.d\log.html - s1-s1#s1-s1

Full Name:

 

RobotFrameworkTest1.TestSuite6

 

Source:

 

F:\project\RobotFrameworkTest1\RobotFrameworkTest1\TestSuite6.txt

 

Start / End / Elapsed:

 

20180728 11:52:36.841 / 20180728 11:53:08.125 / 00:00:31.284

 

Status:

 

1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed

 

00:00:31.108TEST TestCase0008

javascript:expandAll('s1-s1-t1')javascript:collapseAll('s1-s1-t1')C:\Users\yongqing\AppData\Local\Temp\RIDExpjcyt.d\log.html - s1-s1-t1#s1-s1-t1

Full Name:

 

RobotFrameworkTest1.TestSuite6.TestCase0008

 

Start / End / Elapsed:

 

20180728 11:52:37.016 / 20180728 11:53:08.124 / 00:00:31.108

 

Status:

 

PASS (critical)

 

00:00:09.825KEYWORD Selenium2Library . Open Browser , chrome

javascript:expandAll('s1-s1-t1-k1')javascript:collapseAll('s1-s1-t1-k1')C:\Users\yongqing\AppData\Local\Temp\RIDExpjcyt.d\log.html - s1-s1-t1-k1#s1-s1-t1-k1

Documentation:

 

Opens a new browser instance to given URL.

 

Start / End / Elapsed:

 

20180728 11:52:37.017 / 20180728 11:52:46.842 / 00:00:09.825

 

 

11:52:37.017

 

INFO

 

Opening browser 'chrome' to base url

''

 

 

 

00:00:00.119KEYWORD Selenium2Library . Click Element //*[@id="form"]/span[1]/span

javascript:expandAll('s1-s1-t1-k2')javascript:collapseAll('s1-s1-t1-k2')C:\Users\yongqing\AppData\Local\Temp\RIDExpjcyt.d\log.html - s1-s1-t1-k2#s1-s1-t1-k2

Documentation:

 

Click element identified by `locator`.

 

Start / End / Elapsed:

 

20180728 11:52:46.842 / 20180728 11:52:46.961 / 00:00:00.119

 

 

11:52:46.843

 

INFO

 

Clicking element

'//*[@id="form"]/span[1]/span'.

 

 

 

00:00:10.001KEYWORD BuiltIn . Sleep 10

javascript:expandAll('s1-s1-t1-k3')javascript:collapseAll('s1-s1-t1-k3')C:\Users\yongqing\AppData\Local\Temp\RIDExpjcyt.d\log.html - s1-s1-t1-k3#s1-s1-t1-k3

Documentation:

 

Pauses the test executed for the given time.

 

Start / End / Elapsed:

 

20180728 11:52:46.962 / 20180728 11:52:56.963 / 00:00:10.001

 

 

11:52:56.962

 

INFO

 

Slept 10 seconds

 

 

 

00:00:00.095KEYWORD Selenium2Library . Choose File //*[@id="form"]/div/div[2]/div[2]/input, E:\\zhangyongqing.bmp

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wsffxy.html