Sie sind auf Seite 1von 6

About Dani Vainstein

My Name Is Dani Vainstein, I am the First sun of Alberto & Rosa Vainstein. I was born in
Buenos Aires, Argentina on December 1967, I have also two more brothers.
On 1980 my parents decided to make "Alia" To Israel.
In Israel, we’ve stayed in the City of Bat-Yam where my parents still live today.
I learn computer science and Electronics in high-school, and I had always had sympathy
for computers. At that time, with 250K memory and green monitors….
I wrote my first project in Basic ( it was a program that calculates average of students in a
class…)

My first computer was a commodore 64 and for my 16 birthday I got the best computer a
that time! An Apple 2 (wow!), with external cassettes drives.
At 18 I have join to the Israeli army, as part of the duty of the Israeli citizens.
I was in the Air-Force. Unfortunate in 1987 the Intifada took place, and I was a very
young and new soldier. My service was tough; too many things were influence my
opinions and my personality after 3 years, Between Gaza Strip and South Lebanon.

As a young veteran, in 1989, I was looking for a job, and I found one day an article in the
newspaper "Policeman needed". I joined the police force, and in 1994 I was a shift
commander of a patrol unit. I have seen everything there.

In 1993 a friend took give me a book about software. It was a book about Windows 3.1.
it was amazing, I read it again and again, practiced on papers the new technology.

The next year a friend took me to an exposition to see a revolutionary software, that is
about to come. Windows 95.

Then I decided to leave the police. I started to learn at evening’s computer engineering in
tel-aviv technology school. In the days and nights I still worked in the police force.

I finished my studies in 1998. But I felt that everything was very theoretic and not
enough. I had a proposal to start learning on Sela Institute at Tel-Aviv a course 1 year
long, that expertise on OOP. I left the police and dedicated my self to learn programming.

After 6 months I was the best student in the class, and they send me to start working in
high-tech as a manual-tester. I was very excited for my first job in hi-tech, with a minimal
salary.

After nearly 6 months, a woman on my division took a birth vacation.


My manager came to me, and ask me Do you know how to program?
Of course I’ve answered him, and he shows me Winrunner 6 and told me, now you are
responsible for the scripts.

From that day I am an automation developer.


I got married in 2000 and divorced a year later. The hi-tech crisis of the year 2000
affected me. I found myself at home again, looking for a job. I was 6 months
unemployed, but I didn’t waste my time. In that period I became a Winrunner expert,
applying the self-learning method. My second job was in Tact (an outsourcing company)
I have participated in many automation projects. Than I move to Ness technologies
(another outsourcing company) through the I have managed a team of 5 QTP developers
in Creo Scitex ( Kodak today ) I start to teach QTP courses in Sela and John Bryce
college. On 2004 I decided to become a freelancer consultant after receiving my
certification ( CPC ) form mercury interactive. In this period I was in many European
countries ( Denmark, Romania, UK, Spain, Bulgaria, Turkey ) and also USA for
consulting and training matters.

Behind me, many projects, a lot of experience, I have been consulting for many big and
small companies, like SAP, Amdocs, and Comverse I am familiar with a wide types of
technologies and platforms SAP, Telephony, Billing, Banking, Internet . Dot.net, Printing,
Java applications and more.

3 years ago, I met a Colombian Girl Sol Marina Alvear from Monteria, Colombia, on the
Internet. After 3 months she came to visit me in Israel, I was a big love. She had to go
back after 3 months to Colombia, because the Israeli authorities didn’t gave her more
visa. I had to stay here, because I was in the middle of a project.

On November 2005 we got married in Bogota, Colombia.


She is the mother of my daughter Sara. I love them very much, they are everything for
me.

Today I am consulting for a Tel-Aviv company Super Derivatives Benchmark for options
products; I am also a trainer of automation courses in John Bryce and Ness Academy. I
am speaking English, Spanish and Hebrew.

Share This

General Programming
11 Responses to “About Dani Vainstein”

1. # praveenkon 18 Jul 2007 at 9:12 am

Hi Mr DANI,

I need to verify my application for internationalization ( French, german, Italian,


japany etc). For this i need a QTP frame work. This is my first assignment as a
automation tester.

What my idea is , first i want to record all the objects in Object Repository and for
each lable want to verify/match its label text with excel sheet which has all the
translations for each language. Is it work for me?. But the problem is how to
access OR in the script. Is there any other method/logic to do this . Please help
me.

And also tell me how to access/down load your Book - Scripting QTP.

Thanks in advance.

Praveenkc

2. # Dani Vainsteinon 18 Jul 2007 at 1:25 pm

Hi praveenk

your question is a very good one, and requires a complex answer.

Generally i will code a single script to support all lenguages.


My Repository will have LOGICAL names in english ( or the main app.
language )
And here is the trick ….

Lets say you have a button “OK” in English, “Afirmar” in Spanish “XXXX” in
french “YYYY” in german. the button is the same, except the label.

Method 1
Configure your Object identification mechanism, and avoid to select properties
base on text whereever you can

Method 2
in the Label property of the button use a regular expression : OK|Afirmar|XXXX|
YYYY
the same wil all the other objects
Method 3
In the label property of the button use Parameter->DataTable->LocalSheet
you have to prepare a datasheet for each language. when the Script start run, first
thing you do DataTable.Import “MyRO”, “EnglishSheet”, dtLocalSheet
for each language you will load another data sheet.

3. # Kunal Shekharon 26 Jul 2007 at 8:13 am

Hi Dani,

First of all I would like to thank you as you are a driving force in my career.I’ve
learnt a lot from your Book.

Now my problem :

How can we Use QTP for finding that a particular value is passed in the xml or
not.
For example year when entered in the UI as 1947 it should be there in the xml
generated by the application.

now how can i verify such scenarios.


Please help me out with this as i’m little blank on this.
Thanks,
Kunals.

4. # Dani Vainsteinon 26 Jul 2007 at 9:09 am

Hi mr Kunal

thank you for your comments.

As you probably know QTP supports XML via XMLUtil as a built in mechanism
nice, but, not enough
To enhance the XML intercation use the Microsoft.XmlDom

Here is a little example, and there are more all over the internet
Set xmlDoc = CreateObject( “Microsoft.XmlDom” )
xmlDoc.async = False
If Not xmlDoc.Load( “myxmlFile.xml” ) Then

5. # Dani Vainsteinon 26 Jul 2007 at 9:19 am

Hi mr Kunal

thank you for your comments.


As you probably know QTP supports XML via XMLUtil as a built in mechanism
nice, but, not enough
To enhance the XML intercation use the Microsoft.XmlDom

Here is a little example, and there are more all over the internet
Set xmlDoc = CreateObject( “Microsoft.XmlDom” )
xmlDoc.async = False
If Not xmlDoc.Load( “myxmlFile.xml” ) Then
messageStr = “err code: ” & xmlDoc.parseError.errorCode & “; reason: ” &
xmlDoc.parseError.reason & _
“err line: ” & xmlDoc.parseError.line & “; source Text: ” &
xmlDoc.parseError.srcText
Reporter.ReportEvent micFail, xmlDoc.parseError.errorCode, messagestr
ExitTest( “Fail” )
End If
Set xmlNode = xmlDoc.SelectSingleNode( “//NodeA/NodeB[@id=’{0}’]”)
myValue = xmlNode.getAttribute( “MyAttribute” )
If myValue = ExpctedValue Then
Reporter.reportEvent, micPass, “TITLE”, “MESSAGE”
Else
Reporter.reportEvent, micFail, “TITLE”, “expected: ” & ExpctedValue & “;
actual” & myValue
End If

6. # Sanjayon 02 Aug 2007 at 8:29 am

Hi Dani,

First of all I would like to thank you .I’ve learned a lot from your Book.

Now my problem is:


i have to capture the sub menu option under the sub menu.
through low level recording i able to capture the script up to 1st sub menu. But
while capturing the script sub menu under the 1st sub menu, it is not capturing the
script.
Please help me.
Thanks
Sanjay

7. # Ravion 03 Aug 2007 at 12:59 pm

Hi Dani,

I am a Software Tester and know QTP but not the vbscripting part much and I am
a good programmer also. I am looking for some material on VBscripting for QTP.
Or can I learn it through the help which is in QTP itself. Can you please guide me.
Thanks & Regards
Ravi

8. # satishon 03 Aug 2007 at 1:26 pm

Hi Dani,

Thanks a lot for giving such a good stuff!!!,Its really awesome.


I wanted to know which is the good framework for automating web applications.
Can you please guide me??

Thanks a lot,
Satish

9. # Praveenon 06 Aug 2007 at 8:14 am

Hello Dani,

I have done the basics of QTP and wish to learn the advanded stuff. Can you
guide me by directing me to the location to access or download your book on QTP
?

Thanks
Praveen

10. # Joseph Chackoon 13 Aug 2007 at 1:42 pm

Sir,

I am working as a software test engineer, I would like to study QTP scripting,


know VB script, but I felt that VB script and QTP script are different? Can u help
me to study QTP scripting? Suggest some site or books? Kindly help me.

11. # dani Vainsteinon 13 Aug 2007 at 6:02 pm

hi joseph

is not just the sane vbscript and qtp script specially when creationg objects
in vbscript you use Wscript.createObject(”") when qtp will never recognizes
Wscript.
becaus qtp is wrapping Wscript.
with this little exception , functions, classes and operators are the same

Das könnte Ihnen auch gefallen