You declared a constant in a main test..Later you want tried
to reinitialize that constant..what will happened?
i.e const i=10;
--
---
i=20;
what will happen?

Answer Posted / guest

it s value will be changed to 20 no longer 10.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

supose 10 times text data is there but it will run 8 times whtat will you do.

1546


Explain the purpose of loading winrunner add-ins?

633


What do you mean by the logical name of the object.

638


i would like to know the steps to write tsl exception and object exception with a simple example

1681


Explain the purpose of gui map configuration?

616






What information is contained in the checklist file?

589


How do you find out which is the start up file in winrunner?

593


what is the difference between toggle checkpoint and checkpoint?

4244


i get error "winrruner cannot identify object" and gives details like the physical description of object "windowsFor....378734a_11" has changed descritpion in GUI map new discription Description { { class:object class:object Msw_id:264896 Msw_id:918548 } } Below is a script of functionality where amount is transfered from users account ,first contact summary of user is opened then transfer button is available on which we click .on clicking transfer form opens and various details are entered like amount to be transfer,transfer type .line where i m getting error is obj_mouse_click ("WindowsForms10.Window.8.app have marked it with red in script .0.378734a", 164, 10, i would be very thankful if anyone can give help related to this problem. *SCRIPT IS BELOW:-* > # Shell_TrayWnd > set_window ("Shell_TrayWnd", 1); > toolbar_button_press ("ToolbarWindow32_1", "Contact summary - > Scheme: > SCHEME CARD PROGRAM (admin - Local - V.1.8.2.0000)"); # Button Number > 3; > > # Contact summary - Scheme: SCHEME CARD PROGRAM (admin - Local - > V.1.8.2.0000) > set_window ("Contact summary - Scheme: SCHEME CARD PROGRAM (admin - > Local - V.1.8.2.0000)", 1); > obj_mouse_click ("CommandBar1", 437, 15, LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 1); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a", 164, 10, > LEFT); > > # #32769 > set_window ("#32769", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_0", 138, 9, > LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_1", 166, > 13, LEFT); >

1649


what is qtp licence

1560


What is a checkpoint and what are different types of checkpoints?

701


How do you handle dynamically changing area of the window in the bitmap checkpoints?

605


What is the XML test cases creation?

2174


What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

845


How do you load GUI map?

692