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
763
Conspiracy theory: Sundar wants to make India great again
Tech Industry
Yesterday
1475
The end of Backdoor Roth?!
India
Yesterday
621
Modi is a legend, will be remembered for centuries to come
India
Yesterday
680
Who are these retards asking for dictatorship in India?
2024 Presidential Election
Yesterday
666
Heartwarming peaceful protests
This would be better on Stack Overflow