VbScript In QTP10.0

Scripting Enhancements & VBScript:

35. More options for other scripting languages i.e. JScript, VB.NET, C#.NET etc…

36. Support for start and finish events in Action and Test. E.g. – Test_Init, Test_Terminate, Action_Init, Action_Terminate. Currently this can be achieved through use of class but it would be easier for people to use if the functionality is built-in.

37. Ability to execute specified VBScript even before the test execution starts. This script would run outside QTP and would help make changes to QTP settings that cannot be done during run-time. This would help in overcoming limitations like Libraries cannot be associated at run-time.

38. Ability to execute specified VBScript even after the test execution starts. This script would run outside QTP and would help perform post execution code. This would be helpful in scenarios like sending email with the report.

39. Ability to create error handler functions which are automatically called when an error occurs.

40. Performance improvement when using Descriptive programming when compared to Object Repository usage.

41. Ability to Debug libraries loaded during run-time using Execute, ExecuteGlobal and ExecuteFile.

42. Ability to unload a library at run-time.

43. Ability to register generic functions for any object type. Currently RegisterUserFunc can only be used to register the method for a single object type. So if a new Set method is created then multiple RegisterUserFunc statements need to be written. QTP should provided some way to use a pattern or something to apply the same method to multiple object types.

44. Ability to Unlock a locked system from within the code.

45. Ability to prevent screen locking during the execution.

46. Ability to debug error which occurs during terminations of script. Currently any errors that occur during the termination of the script cannot be debugged and launches .

47. Ability to Enumerate current Action parameters.

48. Ability to Enumerate current Test Parameters.

49. Ability to Enumerate current Environment parameters.

50. Ability to Export environment variables to XML in code
51. Ability to save data directly to Design time data table
52. Ability to load Excel 2007 files into data table
53. Ability to Encrypt the script code
54. Ability to password protect the scripts
55. Ability to save the list of libraries open and the libraries to automatically open when opening the script
56. Ability to save the breakpoints and bookmarks with the script.

57. Ability to move a script from write mode to read-only mode. Currently Enable editing button only enables read-only to write mode transition in tests/components/libraries and not vice-versa.

58. Ability to execute in thread. Even one thread would do.

59. Ability to call Windows API which require structures.

60. Ability to Load/Unload add-ins at run-time.

61. Add-in SDK documentation to create new add-ins.

62. Ability to use a external excel file directly as a DataTable and have access to all the excel objects as well.

63. Ability to pause/break a script. Similar to Debug.Assert method in VB.

64. Ability to reconnect to QC automatically when the connect times out to the server.

65. Built-in support for Web 2.0 and AJAX.

66. Ability to call one Test from another test.

67. Auto include of SOR and Associated libraries when calling a external action present in some other script.

68. Ability to clear session cookies of a browser without closing the browser.

69. Ability to get the stack trace in the code in case of an error.

70. Improvement in error messages in case of general error messages.

71. Ability to get the current function name from inside the function.

72. Ability to get the time taken by a transaction when using Services.EndTransaction.

73. Ability to do OCR on images (captcha) and convert them to text

QTP AOM Enhancements.

74. Ability to open Business process script in QTP.

75. Ability to open/close library file in UI using AOM.

76. Ability to create a library file through AOM and add code to the same.

77. Ability to create, open and modify a BPT Application area through AOM.

78. Ability to set/delete breakpoints in IDE using AOM.

79. Ability to change any option at run-time and having the change impacted instantly.

80. Ability to convert a BPT component to a normal test using AOM and through UI as well.

Post a Comment

Previous Post Next Post