Print the Prime numbers in below format only up to 20(Need commas also)
1,2,3,5,7,9,11,13,17,19


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")

2 Answers  


How many types of OBJECTS are there in QTP?

8 Answers   Intel, Inter Globe Technologies,


In the QTP the snap shots obtained during the recording time will appear in the active screen, if we have to use the snapshots from where we have to access. in which memory location of QTP they will be stored?

1 Answers  


what is the process to follow between writing the test cases & then atomating it?

1 Answers  


Can we directly automate test script according to requirements?

1 Answers  






How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

0 Answers   TCS,


Object Repositories types, which & when to use?

3 Answers   Crea,


how can we group that these test cases only should be automated and in which order you execute that test cases

3 Answers   Maveric, Satyam,


How to change the Default synchronization method time and where?

4 Answers  


Please clarify Automation and QTP both(names) are same or diff?

1 Answers  


Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .

2 Answers  


How many types of recording modes are there?

0 Answers  


Categories