Current time: 03-02-2021, 09:14 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search Script is not working as Expected
05-02-2019, 05:03 PM
Post: #1
Search Script is not working as Expected
Hi Team,

I am trying to test the flow of launching the website and Click on Search Button and entering search text and click enter.

I have tried the below scripts but it giving only main home page but not getting the search results page.

setvalue id=masthead-search-term shirts
submitform id=masthead-search

execAndWait document.querySelector('.shirts').click();

execAndWait document.querySelector('shirts').click();

Thanks and Regards,
M Ram Mohan
+91 7708776622
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)