I was running some testcases for Flipkart , most of the time even though my test case is stuck in (AddToCompareTest---click-----closebutton_xpath-------null) it does not show any error rather in cansole its showing the test cases are running and finally showing its passed, What could be reason for this ? All my other projects its running as expected but nt this project. Below is test output on console when it was stuck on for long time- AddToCompareTest---click-----closebutton_xpath. Also it's hardly showing any exception if element is not present/visible.
{Runmode=Y, Browser=Mozilla} AddToCompareTest---openBrowser---------Browser---Mozilla Executing openbrowser log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies). log4j:WARN Please initialize the log4j system properly. AddToCompareTest---navigate---------FlipkartUrl---null Executing navigate FlipkartUrl AddToCompareTest---wait------------null [b:2sz486hg][u:2sz486hg]AddToCompareTest---click-----closebutton_xpath-------null Executing click[/u:2sz486hg][/b:2sz486hg] AddToCompareTest---wait------------null AddToCompareTest---MouseHover-----Electronics_xpath-------null Executing Mouse hover Inside block AddToCompareTest---MouseHover-----categories_xpath-------null Executing Mouse hover Inside block AddToCompareTest---click-----samsung_xpath-------null Executing click AddToCompareTest---wait------------null AddToCompareTest---AddToCompare------------null Executing AddToCompare PASSED: AddToCompare({Runmode=Y, Browser=Mozilla})
M
Replied on 12/11/2015
I'm not able to understand the problem. could you please repeat.