case insensitive & white spaces for alert messages

Archana at 15h14
24
Aug
2009
case insensitive & white spaces for alert messages

If there expected alert msg is "Hi, How are you?" & if actual alert msg is "hi, how Are you?" then

assertEquals("Hi, How are you?", $this->getAlert()); should return true, with some warnings or any otherkind of information to tell just there is ignorable assertion. or how can we use regexp here?


Does selenium satisfy above requirement ?
About
This topic belongs to the forum
  • Numbers of topics : 1162
  • Numbers of messages : 3136
  • Numbers of users : 2144
  • Numbers of points : 1257
Similar topics
Hello! I am a complete newb when it comes to the AP sometimes. So if someone could help me out, I'd really appreciate it. Been trying to figure this out by myself with coding, but it's just not working. Anyway I'm trying to create a forum homepage
I am stuck with capturing the alert message. The Scenario is: I have a form with input fields like CaseType(listbox), Lab(listbox), LastName(txtbox), FirstName(txtbox)... along with couple of other fields as well. After entering all the fields,
Hi, how to capture the alert message that is shown via response.write() My code snippet: Code:if (Requestaction == "add")                     {        
Q 6. Case Study: You are engaged to carry out a market survey on behalf of a leading Newspaper that is keen to increase its circulation in Bangalore City, in order to ascertain reader habits and interests. Develop a title for the study,
When I recorded an script with alerts the Selenium IDE save the command assertAlert with the message of that alert in target. When I play this script this command fails and the button OK isn't pressed! Both in Selenium IDE or Selenium
Forums from same category
See also
more_less
Informations

3 Replies For the topic :
"case insensitive & white spaces for alert messages"

This topic has been viewed 591 times.

Last message :
24/08/2009 at 15h14 by "Archana"