| Summary: |
The all builds, All projects, documentation buttons dont have an ID |
| Product: |
[Build System, Metadata & Runtime] Toaster
|
Reporter: |
Libertad <libertad.gonzalez.de.la.cruz> |
| Component: |
toaster | Assignee: |
David Reyna <david.reyna> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Libertad <libertad.gonzalez.de.la.cruz> |
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
jessica.zhang, stanciux.mihail
|
| Version: |
2.3 | |
|
| Target Milestone: |
2.4 M1 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
Don't know
|
| Attachments: |
|
Created attachment 3709 [details] a snap shot of the buttons I am talking about While creating automated testcases for Toaster, I realize that some buttons dont hold an id. All builds All projects Documentation They are held within a <div>--<ul>---<li>---<a> and just hold a href. I am talking about the elements within the tag <div id="global-nav">. So, when automating I have to search for an xpath to the the href to be able to click on them. self.driver.find_element_by_xpath("//div[@id='global-nav']/ul/li/a[@href="+'"'+'/toastergui/projects/'+'"'+"]").click()