Friday, March 28, 2008

Automation Studio

Before writing anything here, I wants to introduce my self. I am anil kumar working as Software Test Engineer, for one of the semiconductor based company.

As I am working on Automation Testing. I thought of creating an plateform, which should have capability to convert Test cases to automation tool recognizable scripting language. So it should compile test cases (i.e., Grammer checking) after that it should test our software.

Pros
1. With this it is not required to code again and again.
2. If any new features are coming in, we can just needs to add that test case in common repository.

So to achive this, we have created our own syntax or commands. Using which any one can convert manual test cases, and write into an Excel. So our Automation Studio is going to read all the test cases from Excel and start compiling the test cases (basically, it is going to check any error in test cases).
Next step is to start executing the test cases on our software , Error will be logged into log file.

Design

I think this is the most important part in this article. we have designed in such generic way so that Automation Studio is going to work for any software in OS. Basically this design is ment for Rational Robot tool. I think we can use same desing and implement in other tool also.

Based on the below logic I designed our Automation Studio:
If you wants to do an operation on any object, first we need to know,
1. what operation we are going do on the object,
2. What object
3. What optional value.

So to do an operation we need following values :
1. Object (For Example : ComboBox)
2. Object Name (For Example : ID = 203)
3. Object Operation (For Example : Select)
4. Object Value (For Example : High)

So our commnd for Rational Robot look like :

Window Setcontest, "XYZ"
ComboBox click, "ID=203",Coord="
ComboListBox Select, "High"

So our command in excel looks like:

W:XYZ+Obj:ComboBox+ObjName:203+ObjOp:Select+ObjValue:High

Flow:

Automation studio reads these command from Excel , compile the code based on some rules, which are already stored in some config files. After all this, if compilation is passing. Then it is going to execute the test case.

Your Questions :

1. How it is different from recording Script?

Actually, all the rules and set of objects name or ID is already stoed in config file. so automation studio compare the values of commands in excel and these config file while in compiling commands.

Once if we input all the objects and its ID in config, we just need to write commands in Excel not necessary to record or write in Rational robot editor. We just need to write in Excel. Which is an easy job.

I can not put design flow and also design achitecture here.

-Have a gr8 day...


Newton

Once all the scientists die and go to heaven.
They decide to play hide-n-seekUnfortunately Einstein is the one who has the den......... ..He is supposed to count upto 100...and then start searching... ..Everyone starts hiding except Newton...... ...
Newton just draws a square of 1 meter and stands in it right in front of Einstein.
Einstein's counting 1,2,3......97, 98,99.... .100..... ... He opens his eyes and finds Newton standing in front....... .Einstein says "newton's out..newton' s out....."
Newton denies and says "I am not out........I am not Newton...... "All the scientists come out to see how he proves that he is not Newton.
Newton says "I am standing in a square of area 1m squared.....
That makes me Newton per meter squared..... .
since one Newton per meter squared is one Pascal, I'm Pascal,
Therefore Pascal is OUT.......! ,_
~~~~~~~~

Family plan Problem


MAGA FAMILINA SARIYAGE PLAN MADU ILLA EXAMPLE NOODU

Mohd Ishaq doesn't remember the names of his 23 kids or even recognise all of them. Yet, he is all set to welcome his 24th child next year. MiD DAY meets the man, the machine and the family that does not believe in family planning
Love's labour: Mohammad Ishaq and Bismillah with their family of 23 at a village in Mewat, Haryana
Nuh (Mewat, Haryana): A 40-year-old woman in Mewat district of Haryana gave birth to her 23rd child on Sunday. The baby was born to Bismillah (40) and Mohammad Ishaq (50) at the nearby Al-Afia Government Hospital in the district. The couple were married in 1976 and since then, Bismillah has given birth to 23 children, the latest addition being a female child who was born on Sunday and named Shabira.God's giftsSpeaking to MiD DAY, a happy and delighted father, Mohammad Ishaq said, "Yeh toh sab Allah ki den hai, agar hamara chaubiswa baccha agle sal hua toh woh bhi hum Allah ki den samjhenge. (All this is Allah's gift. If we get a 24th child next year, we will welcome it too)"
Mother India: Bismillah with her 23rd child, Shabira
Too many to recallHowever, when MiD DAY asked him the names of his children, Ishaq had to take help from his son and neighbours. "I find it very difficult to remember their names as they all look the same," he said. Ishaq, builds thatched roofs in nearby villages and ferries goods for shops in the vicinity for a living.Hoping for supportBismillah the mother of 23 children, hopes that her children will take care of her. "I feed my children chicken, mutton and chivda, with my daughters helping me in the cooking," she says.