Hey guys, I'm trying to crack this but seem to be getting stuck. I've proposed to find returned CS on the page by using xpath (below) and if statement to check for the condition. //*[contains(text(),'CS')] //tagname[text()='CS'] Can I get a second or third eye of advise on this simple coding problem: Write a test case that performs the following steps in searching for computer science classes. Test case automated in java and manual 1. Navigate to https://oscar.gatech.edu/ and selects “Schedule of Classes” 2. Select the “Spring 2019” option from the “Search by Term” dropdown and click the submit button. 3. Select “Computer Science” as the subject and click the “Class Search” button. 4. Grab the class name class name, CRN number, course number, and section for every result and verify that only computer science classes were returned by verifying the letters “CS” displays in the class information header. 5. Your test should fail it one entry does not contain the letters “CS” and pass if all entries contain the letters “CS”. Thanks for any help, refs, code snips! Cheers
This isn't a place for your homework problems.
Of course someone from Cognizant would ask this on Blind 🤦♂️
Stop it, wrong place And why tag Google and Microsoft?
They probably use selenium all the time? How else does google search the web? /s
First off , Don't use xpath. And second go to stack overflow or some technical forum to ask this question.
Tech Industry
Yesterday
766
Chances of meta clearing E5 with screwing up one coding one round and acing all other
2024 Presidential Election
Yesterday
2573
Biden ruined America and tech! Tax plans are insane
Tech Industry
Yesterday
2156
So hard being a women in tech industry
India
Yesterday
1680
Please vote sensibly 🙏
2024 Tax
Yesterday
3945
Biden’s new tax proposal is wild
This would be better on Stack Overflow