GeekInterview.com
Submitted Questions

Suppose that you are running tests on the windows calculators and find that 1/1=2,2/2=1,3/3=10,4/4=1,5/5=26&6/6=1..Write a bug description that effectively describes this problem...Iits urgent

Asked By: kangerishyam | Asked On: Nov 14th, 2006

Answered by: iamtheone on: Jan 9th, 2011


(x/x) operation
where x = Positive odd integer
uses the formula ((x*x)+1) instead of integer division.
The (x/x) operation works fine for even numbers.

Answered by: sidharthaIBM on: Jul 16th, 2010

The output will be always one when a number is divided by itself.
It is giving correct output when the no is even i.e when the no is divisible by 2.
But when the no is odd it is squaring the no and increasing it by 1.Ex--3*3+1=10

What categories of builtin functions can't be used in a compile modulea)checkpointsb)analog statementsc)reporting statements

Asked By: kangerishyam | Asked On: Nov 13th, 2006

Answered by: Pateel saritha on: Jan 31st, 2007

in compile module we canot use check points and analog statements

Answered by: krishna on: Nov 21st, 2006

In WinRunner compile module we cannot use check points and synchronisation points.

thank you

krishna

Which of the following is truea)you always require a gui file to play a context sensitive scriptb)you always require a gui file to play a analog scriptc)not necessary to have gui file at alld)a&be)none

Asked By: kangerishyam | Asked On: Nov 13th, 2006

Answered by: Arvindd on: Jan 30th, 2007

c) not necessary to have gUI file at all

Answered by: nareshjayaseelan on: Dec 28th, 2006

Hi all,The answer to this question is "D". Well let me explain. There is some thing called descriptive programming, where ur Context sensitive script will run without any GUI MAP FILE in gui map edito...

Wat happens when tl_step function is executed in tsl for a context sensitive case.If condition fails.A)wr report shows the whole run as failedb)wr report shows only that step as failedc)wr ignores the...

Asked By: kangerishyam | Asked On: Nov 13th, 2006

Answered by: kittud on: Jan 18th, 2007

Option (b) is correct because by adding tl_step statement to the script, we can determine if the particular operation within the test passed or failed

Answered by: nareshjayaseelan on: Dec 28th, 2006

U r correct rikar.

Types of variable declarations found in tsl function area)static&publicb)auto,static&publicc)auto,static*externd)need not be declarede)c&d

Asked By: kangerishyam | Asked On: Nov 13th, 2006

Answered by: Jitesh on: Jan 25th, 2007

auto: An auto variable can only be declared within a function and is local to that function. It exists only as long as the function is running. A new copy of the variable is created each time the func...

Answered by: kittud on: Jan 18th, 2007

option (d)

To start recording on a web based application using wr&ie.A)you hav to shutdown all open ie sessions,open the application&then open wrb)you hav to shutdown all open ie sessions,open wr&then open the applicationc)open...

Asked By: kangerishyam | Asked On: Nov 13th, 2006

Answered by: Latha.S on: Jan 2nd, 2007

hi

The answer is b since if we open the WR then appli, it goes on correct sequence to move the application and rec if necessary.

Correct me if it's wrong pls.

with rgds

latha

Answered by: nareshjayaseelan on: Dec 28th, 2006

Hi all,The answer is D, & kiran u r correct.Bcoz, this is one of the bug found in the tool that if u open the application 1st then the tool. Then it fails to recog it as a web application, instead...

During playback,you accidenTALLY hit "pause"a)execution stops&you need to start from the begining of the tsl againb)execution stops&you can start off execution again where u had stopped&all variables have...

Asked By: kangerishyam | Asked On: Nov 13th, 2006

Answered by: rajinigandhap on: Dec 13th, 2006

Hi

I think c is the correct .pause is used in middle of the application so the entire variables  you need not redifind

Answered by: pramod on: Nov 14th, 2006

ececution stops &you can start off executio again from where u have stopped&all variables will still remain initialized

How do we load guimap editor?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: mathan_vel on: Sep 14th, 2009


for Global GUI Map File Mode
Using GUI_Load("Filepath:Filename")

for GUI Map File per Test Mode
Automatically tool generate save/ unsave the GUI on Run

Answered by: sudhakar2068 on: Nov 14th, 2006

Select GUI Map Editor from Tools.

 Select gui files from this

Select Open from file and then select the appropriate gui file

Sudhakar kolla

My Number:09819859346.

Email:kollasudhakar2005@yahoo.co.in

Wat s meant by function generator?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: Titus on: Jan 8th, 2007

Function Generator is a quick and error free way to generate functions. It contains all the functions specific to the loaded add ins.

Regards

Titus

Answered by: Mayank on: Nov 27th, 2006

Function Generator is the error free way to add tsl function in your script.

Wat s the role of gui map editor?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: mathan_vel on: Sep 14th, 2009

The Role of GUI Map Editor is to Load the GUI objects at run time...

Answered by: shwetha s on: Feb 23rd, 2007

Hi,

GUI map editior stores GUI objects

What is toggle break points? How it differ from break points?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: kesavapani on: Feb 27th, 2007

This allows you to set or clear a break point from the selected link.

If a ling has a breakpoint set, then toggle breakpoint clears that breakpoint.

If the link has no breakpoint, then one is added, specifying a stop at every row processed.

Answered by: bluegene on: Nov 27th, 2006

Toggle breakpoint: Turns the breakpoint either on or off, depending on its current state, at the current location in the file. The following example toggles the current breakpoint.>Debug.Toggl...

When do we use verify/debug/update modes?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: Anitha on: Jan 16th, 2007

According to my knowledge

 Verify: This is the usual mode to run the application.

 Debug: Thsi mode is used to find the bug in the application.

 Update: This mode is used to get the defaults values as expected.

Answered by: Guest on: Jan 15th, 2007

Verify Mode : When you are tying to run the WR script in the verify mode, WR will genarate different folders every time it run. ex- if you run the script 5 times WR genarate 5 different result folders...

What are the different types of running a test?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: sudhakar2068 on: Nov 14th, 2006

The different types of running a test are two types.Run  From Top: It will run the tests from the beginning of the application.Run From Arrow: It will run the tests from where the application get...

Wat s meant by gui spy?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: mathan_vel on: Sep 14th, 2009

GUI Spy is to use to identity and recognize the objects available in the page for test.

Answered by: studi on: Jan 15th, 2007

It is used to spy on any properties of object or window. If you want to know detailed properties of the window, bring the mouse on that particular window and click ctr F3 then it records the properties of that window.

How will u synchronize test using wr?When should u sychronize?Synchronize settings?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: Arvindd on: Jan 30th, 2007

when there is a timeing anticipation problem between your application and tsl we use synchronize point.

Answered by: Titus on: Jan 8th, 2007

Sometimes it may be required that Winrunner should wait for sometime until the specified action is performed.

This is called synchroniztion. Winrunner stops the execution of the script until the specified action is performed.

Regards

Titus

What is the use of rapid test script wizard?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: mathan_vel on: Sep 14th, 2009

The RapidTest Script wizard systematically opens the windows in your application and learns the description of every GUI  object. The wizard stores this information in a GUI map file.

Note: The RapidTest Script wizard is not available when you work in GUI Map File per Test mode.

Answered by: sudhakar2068 on: Nov 14th, 2006

The use of rapid test Script wizard  is to recoginize the object by showing the window application and recorded Script will stored in the Tmp Folder.This has to done while Testing before any wind...

What are the two guimap modes available in winrunner?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: mathan_vel on: Sep 14th, 2009

The GUI Map File per Test ModeIn the GUI Map File per Test mode, WinRunner automatically creates a new GUImap file for every new test you create. WinRunner automatically saves and opensthe GUI map fil...

Answered by: sudhakar2068 on: Nov 20th, 2006

The Two Modes available in Win Runner are two types.

Gobal Gui Map file:By default win runner maintains this Mode.

Gobal per test Mode:To Test the line by line of the application.

sudhakar kolla,

Email ID:kollasudhakar2005@yahoo.co.in.

Ph:+91-9819859346

What is the use of gui map editor?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: sudhakar2068 on: Nov 20th, 2006

The use of GUI map editor is to save unsave entires in a local buffer by the test engineer. It makes 10 kB as fixed Size. To Open this buffer test engineers are following below Navigation Tools-> G...

When do you go for context sensitive & analog recordings? What is the difference between them?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: mathan_vel on: Sep 14th, 2009

Context SensitiveContext Sensitive mode records your operations in terms of the GUI objects inyour application. WinRunner identifies each object you click (such as a window,menu, list, or button), and...

Answered by: Anitha on: Jan 16th, 2007

Context Sensitive Mode: To record the keyboard and mouse operation on the application and on the window.

 Analog Mode : To record the mouse pointer moments on the desk top.

What are all the different types of recording available in winrunner

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: mathan_vel on: Sep 14th, 2009

1. Context Sensitive Recording Mode
2. Analog Recording Mode

Answered by: Titus on: Jan 8th, 2007

Analog Recording Mode : Winrunner records all mouse clicks, key boards presses and mouse traverse poin with respect to X and Y co ordination

Context sensitive recording mode : Winrunner records all operations that we performed on the graphical user interface application.

What are the types of applications winrunner can use?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: ravikunar on: Dec 12th, 2006

winRunner 8.0 supports  vb, vc++,java, power builder,delphi,siebel,html,and DOTNET also.

Answered by: RAVIKUMAR on: Nov 16th, 2006

  Winrunner can use GUI based  &  web based applications.

Winrunner is suitable for which type of applications?

Asked By: kangerishyam | Asked On: Nov 9th, 2006

Answered by: Bharathi on: Nov 16th, 2006

Hi,

 Winrunner supports VB, JAVA, Power Builder, Delphi, HTML, D2K, Active X controls, siebel

thanks in advance

Bharati

What happens when tl_step function is executed in tsl for a context sesitive case..Wat willhappen if condition fails

Asked By: kangerishyam | Asked On: Oct 17th, 2006

Answered by: charles on: Dec 6th, 2006

hi,tl_step fun.  divides the script into sections and insert a status message in the report for the previous section. in tl_step we can set whethe the action is passed r failed .ex:tl_step("step ...

Answered by: sudhakar2068 on: Oct 31st, 2006

The tl_step shows like this in context sensitive case

tl_step("s1", 0, "calec is pass");

0->It indicates the pass condition.

tl_step("s1", 1, "calec is fail");

1- >It indicates the fail condition.

sudhakar kolla,

My email:kollasudhakar2005@yahoo.co.in.

My number:09819859346

Wat r the types of variable declarations found in tsl functions

Asked By: kangerishyam | Asked On: Oct 17th, 2006

Answered by: manjunath h.m on: Jan 25th, 2007

auto, static, extern, public are the variable types allowed in winrunner.

Answered by: srinivas.o on: Oct 25th, 2006

In tsl script ,if it is main test no need of variable declaration ,but in functions we hav two declarations such as "auto" for local and "Global" for all funtions. 

To start recording on a web-based application using winrunner *ie

Asked By: kangerishyam | Asked On: Oct 17th, 2006

Answered by: sudhakar2068 on: Oct 31st, 2006

TO start recording on a web-based application using WinRunner *IE  before that we have to Select the web-based application in Add-In-Manger.

sudhakar kolla,

My email:kollasudhakar2005@yahoo.co.in.

My number:09819859346

What will happen during play back,you accidenTALLY hit"pause"

Asked By: kangerishyam | Asked On: Oct 17th, 2006

Answered by: sudhakar2068 on: Oct 31st, 2006

It will stop the execution of the remaining Test Cases.

sudhakar kolla,

My email:kollasudhakar2005@yahoo.co.in.

My number:09819859346

In analog mode of recording,the maximum value of x in(x,y)is

Asked By: kangerishyam | Asked On: Oct 17th, 2006

Answered by: sudhakar2068 on: Oct 31st, 2006

analog mode of recording,the maximum value of x in(x,y)is  0 and 1

if iam wrong pls send correct answer to email.

sudhakar kolla,

My email:kollasudhakar2005@yahoo.co.in.

My number:09819859346

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: