March 28, 2014

Tester Friend Oh my God > its my blog name

Tester Friend:

Who is the Tester?
Who is the Friend?
Why Tester?
Why Friend
How Friend?
Why Oh my God?
Then how it is my blog name?
Why Name like that?
Why this blog?

Still I am having lots of question now in my mind...

Then I check for answers for the all questions... Its my time to find it out...


Who is the Tester?
 >> I am the Tester or You are the Tester....

Who is the Friend?
>> You are my Friend. because you are reading my blog and you are gonna read my blog continuously.

Why Tester?
>> After reading this blog and you may gets confused. Asking yourself whether is it an article or blog post or what it is.
Also I tested and find out three things.
1) You know English.
2) You are having more patience.
3) You always keep yourself in smile.

Who Friend?
If a person takes more care about you then he is your friend. He helps you a lot and say you are right or wrong.

Why Friend?
>>Good Friend is a good teacher. You can get good thing as well as the bad things form them

How Tester Friend?
>> While reading this post or my blog you could see. Few good thing as well as few bad thing in it.... Now tell who is your friend

Why Oh my God?
>> Power is god ... That power asks me to write this blog

Then how it is my blog name?
random name which tell you to be your friend.

Why Name like that?
I created name like that... No reason behind it... now its becoming popular... With the help of you

Why this blog?
If I post this blog then  I am @ the top in google. while searching.





Happy Testing with Tester Friend

March 1, 2014

Browse and Upload the file in Cucumber & Capybara.


Browse and Upload the file in Cucumber & Capybara.

My Code in UI View:

<input type="file" name="multipartFile">


Browse Option:>

Then(/^I upload the file $/) do
  path = File.expand_path("a.txt")
  puts File.expand_path("a.txt")
  puts path
  attach_file('multipartFile', "C:\\Desktop\\a.txt")
end

Hope this script will be more useful.... Whenever you try to upload the files....


Use the below lines and upload the file. Use your scripting idea and share it......