Here is a brief idea of my AUT
if user wants to create an order he
1 clicks on a quick add button or the add button,
2 enters address which is powered by google
3 selects ordered by(user selects from list of users they created)
4 selects Addressed to(user selects from list of users they created)
5. selects analyst (user selects from list of users they created)
6 selects report type (drop down list)
7. select date(not necessary)
8.select fee(not necessary)
9 add button
my goal is to see that each field is working on multiple browsers. in this test steps 3, 4 and 6 all have this div element that is not a select element, I will try again and again until I figure this issue out, by doing more research, and asking around as well.
I’m not an expert in coding but I do have a understanding of HTML, CSS, Javascript, SQL.
I will take your advice and write out my test first, along with my objective for the test. rule Why do I need to test this?
The community has helped me before, so I value there expertise, I have added code and screenshots when asking questions. I will work on this over the weekend to hopefully find a solution to my issue. Hope we talk again in the future
here is my code
WebUI.callTestCase(findTestCase(‘Staging Login’), [:], FailureHandling.STOP_ON_FAILURE)
WebUI.click(findTestObject(‘Quick Appraisal/Page_Orders Anow/quickAdd-bolt’))
WebUI.delay(5)
WebUI.setText(findTestObject(‘Quick Appraisal/Page_Orders Anow/add address Property search-QA’), ‘770 Eastern Pkwy, Brooklyn, NY 11213, USA’)
WebUI.sendKeys(findTestObject(‘Quick Appraisal/Page_Orders Anow/add address Property search-QA’), Keys.chord(Keys.ARROW_DOWN))
WebUI.sendKeys(findTestObject(‘Quick Appraisal/Page_Orders Anow/add address Property search-QA’), Keys.chord(Keys.ENTER))
WebUI.click(findTestObject(‘Quick Appraisal/Page_Orders Anow/Ordered by QA’))
WebUI.delay(3)
WebUI.sendKeys(findTestObject(‘Quick Appraisal/Page_Orders Anow/Ordered by QA’), Keys.chord(Keys.ARROW_DOWN))
WebUI.click(findTestObject(‘Quick Appraisal/Page_Orders Anow/Report Type’))
WebUI.click(findTestObject(‘Quick Appraisal/Page_Orders Anow/button_Add Property’))
my attributes
//*[@name = ‘orderedBy’ and @type = ‘hidden’]