Hi Friends,
I want to get the name of the calling function in our program . e.g. --
class A
def Calling()
B.caller()
end
end
class B
def self.Caller()
end
end
Here, I want to print the name of the calling function e.g. Calling()
in the called function e.g. Caller(). Is it
Hi,
Can I get the name of the currently running methods with the class and
package name. like--
class A
def method()
puts nameofThecurrentMethod
end
end
let suppose there is a method nameofThecurrentMethod which prints the
name of the currently running method. Is it possible in Watir?
sure you won't be the last. You just happened to do it when we're
all a little sensitive.
That being said - welcome to the group!
-Tiffany
On Apr 3, 3:33 am, Vikas Tulashyam vtulash...@gmail.com wrote:
Hey sorry ..If it looks like rude ...
I didn't mean anything like that .. I
Hi friends,
I want to get the path of the currently running scripts.. Can anyone
please tell me how to get the path..
Thanks
Vikas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this
Please reply..
On Apr 3, 11:43 am, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi friends,
I want to get the path of the currently running scripts.. Can anyone
please tell me how to get the path..
Thanks
Vikas
--~--~-~--~~~---~--~~
You received this message
here, so I personally consider
your second post just an hour after your initial one as rather rude!
Cheers,
John
On Apr 3, 9:54 am, Vikas Tulashyam vtulash...@gmail.com wrote:
Please reply..
On Apr 3, 11:43 am, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi friends,
I want to get
Thanks..Now onwards I will search the Watir related issues on the
given link ..
Thanks
Vikas
On Apr 3, 2:43 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Fri, Apr 3, 2009 at 08:43, Vikas Tulashyam vtulash...@gmail.com wrote:
I want to get the path of the currently running
Hi Friends,
Can anyone please tell me that which methods are being called at the
end of the execution of Watir scripts.
I want to call my own method when the execution finishes and I don't
want to call the method explicitly. So please tell me.
Thanks
Vikas
Hi Thanks for the reply.
I want to call my method when ruby program exits, means execution is
finished.
Thanks
Vikas
Tony wrote:
Hi Vikas,
Could you tell me what you are looking for?
You want to call methods when the ruby program exits or when your test
cases finishes ?
Could you be
Hi Thanks for the help..I will try it.
On Apr 2, 3:13 pm, sai saidesertrose2...@gmail.com wrote:
Check the kernel method at_exit. It may help you
On Apr 2, 2:48 pm, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi Thanks for the reply.
I want to call my method when ruby program exits
Hi Anna,
Is there any method by which I can convert the String values to Hash.
Thanks
Vikas
On Apr 1, 11:06 am, Anna Gabutero a...@lavabit.com wrote:
On Tue, Mar 31, 2009 at 09:07:29PM -0700, Vikas Tulashyam wrote:
Hi firends,
Please help me.
Thanks
Vikas
On Mar 31, 6:24 pm
Hi,
Thanks for the time. It returns hash values but I want to use this
value into methods for objects identification like-
a= get_object_locator(Text1)
ie.text_field(a).set(test)
Here, it's not working as it is.So how I can use this. I am very new
to Watir and don't have too much idea. Sorry
Hi Anna,
Thanks. I solved this prob.. Thnak you very much
Thanks
Vikas
On Apr 1, 1:18 pm, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi,
Thanks for the time. It returns hash values but I want to use this
value into methods for objects identification like-
a= get_object_locator(Text1
Ruby files. So is there any way to solve this problem.
Thanks
Vikas
On Mar 30, 7:24 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Mon, Mar 30, 2009 at 16:13, Vikas Tulashyam vtulash...@gmail.com wrote:
I can just create a variable instance of browser and use it
whenever required
(sLocator). Here sLocator contains the same value
i.e. :name,'q'.
please help me.
Thanks
Vikas
but I am facing some other
Željko Filipin wrote:
On Tue, Mar 31, 2009 at 13:46, Vikas Tulashyam vtulash...@gmail.com wrote:
I am creating a some common methods and
for that I have created some
': uninitialized constant
Watir::InputElementLocator::MissingWayOfFindingObjectException
(NameError)
Please help.
Thanks
Vikas
On Mar 31, 5:55 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Mar 31, 2009 at 14:47, Vikas Tulashyam vtulash...@gmail.com wrote:
s.text_field(:name,'q
Hi firends,
Please help me.
Thanks
Vikas
On Mar 31, 6:24 pm, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi,
Actually, I am trying to read the sLocator value form a xml file and
thats the main problem if I put the value directly into a variable
then it's working fine like--
a= {:name='q
Hi Friends,
I want to create an instance of a browser and want to use it later,
but when ever I create a new instance, Watir opens a new browser as --
ie= Watir::IE.new
I dont want to do this. Can anyone guide me, if it is possible is
Watir. so I can just create a variable instance of browser
, 2009 at 15:05, Vikas Tulashyam vtulash...@gmail.com wrote:
Please reply, this is possible or not?
In my experience, when you do not get a reply, that means you should be more
specific. :)
For example, I just did not understand the problem.
You could bundle what every you like with your
-
From: watir-general@googlegroups.com [mailto:watir-
gene...@googlegroups.com] On Behalf Of Vikas Tulashyam
Sent: Thursday, March 26, 2009 7:09 AM
To: Watir General
Subject: [wtr-general] Re: Need to find text of an element using watir
Hi Thanks for the reply but we want to get the text
Hi Guys,
I want to create a method by which I can perform any operation on a
object by just passing the identifier of that object. In Watir , we
need to call specific methods for calling a particular object as--
ie.text_filed(:id, 'Text1').set('Test')
So, Can I impelment my method using
26, 11:35 am, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi Guys,
I want to create a method by which I can perform any operation on a
object by just passing the identifier of that object. In Watir , we
need to call specific methods for calling a particular object as--
ie.text_filed(:id
Object of IE. You need to
study more about IE ole object if you want to do that.
- Angrez
On Thu, Mar 26, 2009 at 12:07 PM, Vikas Tulashyam vtulash...@gmail.comwrote:
I have tried this code but it gives error for document function. as--
LE.rb:7:in `method_missing': Document
Hi Guys,
Please reply, this is possible or not?
Thanks
Vikas
On Mar 26, 9:27 am, Vikas Tulashyam vtulash...@gmail.com wrote:
Hi Friends,
I want to bundle a 3rd party tool with my Watir framework e.g. some
Java based tool. So is it possible in Watir?
Thanks in Advance
Vikas
JSSh extension? The command that you ran will always be
successful whether the extension is there or not.
- Angrez
On Tue, Mar 24, 2009 at 5:50 PM, Vikas Tulashyam
vtulash...@gmail.comwrote:
Hi Friends,
I am getting an error while using the firefox.
require 'watir
I dont know .How to install this extension..
On Mar 24, 6:11 pm, Angrez Singh ang...@gmail.com wrote:
did you installed JSSh extension? The command that you ran will always be
successful whether the extension is there or not.
- Angrez
On Tue, Mar 24, 2009 at 5:50 PM, Vikas Tulashyam
Hi Friends,
I want to get the Properties of any object in Watir. Is Watir provides
any method to get the property ..say left..
Please help me..
Thank you very much in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
. So
is there an method in Watir like getProperty().
On Mar 23, 3:27 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Mon, Mar 23, 2009 at 11:19, Vikas Tulashyam vtulash...@gmail.com wrote:
I want to get the Properties of any object in Watir.
Can you give an example of what you
Hey Thank you very much :)
On Mar 23, 4:17 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Mon, Mar 23, 2009 at 12:14, Vikas Tulashyam vtulash...@gmail.com wrote:
ie.link(:id, 'a1').getProperty('InnerHTML')
Try this:
ie.text_field(:index, 1).attribute_value(custom_attribute
Hi Friends,
Can anybody tell me, what is the so and h files found in the C:\ruby
\lib\ruby\1.8\i386-mswin32 folder.Can we create these files.
Thanks
Vikas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir
Hi Guys,
I have some questions --
1. Can I select multiple elements from a list, if yest then what is
the method?
2. Can I double click on elements in watir?
3. Can I perform a Drag and Drop operation in Watir if my AUT
supports it ?
4. Can I perporf Mous up/Down, Mouse Movement/over , Key
not be the best way to execute scripts
Use Rake, SpecTask or good old TestUnit runner.
marekj
Watirloo: Semantic Page Objects in UseCases
Human Readable Machine Executable Acceptance
Testinghttp://github.com/marekj/watirloo/
On Thu, Mar 12, 2009 at 7:02 AM, Vikas Tulashyam vtulash
Hi,
I am trying to create a framework in Watir, so I need to create a
package/Installable for this purpose. Please give me some pointer in
this area.
Thanks
Vikas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi Friends,
I have installed the MYSQL server 5.1. But when I am trying to connect
it through watir I am gettin an error - This Application has failed
to start becasue LIBMYSQL.dll was not found. Re-installing the
application may fix this problem. I tried to register this dll but i
got an error
Hi,
You are right, Watir doesn't support object repository concept and
even you can't spy the object properties.
Thanks
Vikas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this
Hi Friends,
I am not able to use the maximize method of IE class. Please see the
below code. An error is thrown for maximize method. Please suggest if
something wrong--
require 'watir'
require 'test/unit'
class TestSuite_IRCTC Test::Unit::TestCase
$ie = Watir::Browser.new
$test_site =
Hi friends,
I am getting an error while handling the popup. I have attached the
code and following is the error message��
:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/
enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32
(NameError)
from
37 matches
Mail list logo