August 25, 2011

Bug in Google


August 25
In google page, while navigating from "Maps" tab to "News" tab, "Google" is displaying the "Web" tab but the application's highlight is still in "News" tab.

Screen Shot:
http://screencast.com/t/Yqjn1xrtKRSv

Direction:
1) Open google.com ["Web" tab is highlighted.]
2) Click "Maps"
3) Click "News"
Updates:
Similar Scenario:
1) Open google.com ["Web" tab is highlighted.]
2) Select "I am feeling Lucky" button in "Web" page.
3) Select "News" tab. 
Similar scenario:
1) Open google.com ["Web" tab is highlighted.]
2) Select "News" tab.
3) Click blank submission for "Search new"

Issue Detail:
"New" tab is highlighted but the content of the "Web" search is displayed.

I posted the details of the bug in the help support forum. View the below link:
On the day of August 26 blank submission of the “News” tab issue has been resolved by Google team.

In the above bug scenarios, Two scenarios was found by me and one was found by my Guruji J

August 16, 2011

My Time With Blogging


This Afternoon (Aug 16) after reading the pradeep article I have decided to write my own thoughts to share with everyone which helps me to think in different ways. Software Testers never forget to read the below article and spend some time for blogging too.
I think writing a blog…. This helps you to think in different ways…

What’s there in your mind?
Mostly people will wish to start blogging for the first time. After some days they stop their blogging due to some reasons.
  • Lack of time.
  • Being in Selfish.
  • Why to write something?
  • Waste of time for writing.
  • Why we need to share.
  • Due to their expectations.

Real Fact:
People really think that the entire thing in the world is like Market.
On doing this what we will get reflect.
Some people writing blogs for their publicity.
Some People like me; use special commands like “Cut, Copy and Paste” for their blogs.

For the past days I do the same [Cut, Copy, Paste] and some of the posts are posted on my own.
For me nearly takes three weeks to write a single blog posts.
Even my single blog makes me feel happy and I get some confident even I can write something on my own.

Hope from now onwards I planned to post some information on my own which really need to help others to get more information.

I wish everyone to start blogging and share your thoughts with everyone.

August 12, 2011

TestNG Configuring with Eclipse


Simple steps to use TestNG configuring with eclipse

Precondition:
Install Java.
Java version should above 1.5
Install the eclipse and open the eclipse.

Steps:
Go to ‘Help’ option.
Select “Install Software Updates.
 Then goto the below URL
Copy the link for download Testng
Copy corresponding eclipse version link
For Eclipse 3.4 and above, enter http://beust.com/eclipse
For Eclipse 3.3 and below, enter http://beust.com/eclipse1
And paste the link in “Eclipse”
Select “Check box” for TestNG
Select “Finish” button for all windows.
TestNG is successfully installed.




You can view the TestNG in the “Eclipse” >> “Dropin” folder path

August 1, 2011

Seleniun RC to Go



Selenium Remote Control (RC) is a testing tool that allows you to write automated web application UI tests in many programming languages against any HTTP website using any mainstream JavaScript-enabled browser. Selenium RC is a powerful and simple framework for running (scheduled or manually) automated UI centric regression tests for web applications / services. 

You can find lot more about selenium RC in Selenium hq website

1.  for running java client with selenium RC, first you have to execute the client driver 
selenium-java-client-driver.jar

2. Import the following statements in your script>>


import com.thoughtworks.selenium.*;
import junit.framework.*;
import java.util.regex.Pattern;
Run the Selenium server like this:
java -jar selenium-server.jar
selenium-remote-control-1.0-beta-1/selenium-server-1.0-beta-1
setUp(”http://blogger.com/”, “*chrome”);
Increase the time in selenium.waitForPageToLoad() to 60000 (1 minute) or more.
This is really a JUnit question but in short you can add the following code in the generated file to get it running:

3. Ensure that the saved file name matches the generated class file name.

4. Remove the package statement or replace it with your own package statement. Initially just remove it.

5. Error: java.lang.UnsupportedOperationException: Catch body broken: IOException from cmd=setContext&1=SeleniumSTSanityTest.testSimpleThoughts -> java.net.ConnectException: Connection refused
Have you run the Selenium server?


The selenium server is located in:

6. Error:com.thoughtworks.selenium.SeleniumException: ERROR Server Exception: sessionId should not be null; has this session been started yet?
Ensure that the browser is in the PATH before running the server.

7. Error:com.thoughtworks.selenium.SeleniumException: Permission denied to get property Location.href
This happens on Firefox when a previous page wasn’t fully loaded before the next page was invoked (due to timeout or click() was used). The solution is to use *chrome instead of *firefox in setup. I use for firefox:

8. Timeout error

9. How to run the generated java Test file?
public static Test suite() {
            return new TestSuite(SeleniumSTSanityTest.class);
}

public static void main(String args[]) {
            junit.textui.TestRunner.run(suite());
}




That's it, its time to go on and start.