Sunteți pe pagina 1din 17

Guru Nanak Institute of Technology

Department of CSE

PATIENT REMOTE DESKTOP VIA


PRAGMATIC MACHINES IN THE CLOUD

PRESENTED BY
SK SAMEER AHMED

Under the guidance of


Dr.V.Shiva kumar
Associate Professor
ABSTRACT
Patient Remote Desktop(PRD) is based on cloud virtual
machine in web-oriented application in which the lifelong health data of
patients is stored. In this, MyPRD Machines,health-related data and the
application software to view and analyze it are separately deployed in the
PRD system. After uploading their medical data to MyPRD machines ,
patients can access their data. Patients can share their remote virtual
machine session with selected care givers.The person will need only a Web
browser to access the pre-loaded fragments of their lifelong PRD.
Major Functionalities:
User Registration:
It allows the user to get register by entering the details.
User Login :
It allows the user to get login with username and password.
Upload:
User uploads his files and stores in cloud.
Search:
It allows the user to search for the files which are uploaded
previously.
Code for Registration:
<form action="Register" method="post">
<table>
<tr>
<td><p>UserName</p></td><td>:</td><td><input type="text" name="user" id="users"></td>
</tr>
<tr> <span id="user result"></span>
</tr>
<tr>
<td><p>Password</p></td><td>:</td><td><input type="password" name="pass" id="passing"> </td>
</tr>
<tr>
<td><p>ConfirmPassword</p></td><td>:</td><td><input type="password" name="cpass"
id=“cpass1"></td>
</tr>
<tr>
<td><p>Email</p></td><td>:</td><td><input type="text" name="email" id="email12"></td>
</tr>
<tr>
<td><p>D.O.B</p></td><td>:</td><td>
<<select name="days">
<%for(int i=1;i<=31;i++){ %>
<option value="<%=i%>"><%=i %></option>
<%} %>
</select>
<select name="months">
<%for(int i=1;i<=12;i++){ %>
<option <%=i %>><%=i %></option>
<%} %>
</select>
<select name="years">
<% for(int i=1970;i<=2020;i++){ %>
<option value="<%=i%>"><%=i%></option>
<%} %>
</select>
</td>
</tr>
<tr>
<td><p>MobileNumber</p></td><td>:</td><td><input type="text" name="mobile"
id="number"></td>
</tr> <tr>
<td></td><td></td><td><input type="submit" value="submit" onclick="return
registervalidate()"><input type="reset">
</tr>
</table>
</form>
Requirement :User registration
Testing method :Unit testing

Test Test Test Test Data Expected Pass/Fail


case id Scenario Steps Result

TC1 Check User 1.Enter Enter the User Pass


Registration User Details mandatory Register
with valid Data 2.Click fields. successful
submit

TC2 Check User 1.Enter Left one User Fail


Registration User Details mandatory registration
with Invalid 2.Click field unsuccess -
Data submit full
Code for login:
<form action="Login" method="post">
<table>
<tr>
<td><p>username</p></td><td>:</td><td><input type="text" name="user"
id="uservalue"></td>
</tr>
<tr>
<td><p>password</p></td><td>:</td><td><input type="password" name="pass"
id="passvalue" ></td>
</tr>
<tr>
<td></td><td></td><td><input type="submit" value="submit" onclick="return
loginvalidate()"></td>
</tr>
</table>
<p>New User?<a href="Register.jsp">Click here</a></p>
</form>
Requirement :User Authentication
Testing method :Unit testing

Test Test Test Test Data Expected Pass/Fail


case id Scenario Steps Result

TC1 Check User 1.Enter Login id = User should Pass


Login with UserId admin Login into
valid Data 2.Enter Password = application
Password admin
3.Click
Submit

TC2 Check User 1.Enter Login id = User should Pass


Login with UserId admin not Login
Invalid Data 2.Enter Password = into
Password adminn application
3.Click
Submit
Code for Uploading
<form action="Upload" method="post" style="margin-right: 60px;!"
enctype="multipart/form-data" >
<table>
<tr>
<td>
<p>Filename</p></td><td>:</td><td><input type="file" name="files" id="filevalue">
</td>
</tr>
<tr>
<td>
</td><td><input type="submit" value="submit" onclick="return
validatefilevalue()"><input type="reset" value="cancel"></td>
</tr>
</table>

</form>
Requirement :Upload files
Testing method :Unit testing

Test Test Test Steps Test Data Expected Pass/


case id Scenario Result Fail

TC5 Check entering 1.Enter Prescription Uploaded Pass


reports with Prescription =medicine successfully
valid data 2.Enter Files Files= x-ray,
3.Click submit lab reports

TC6 Check entering 1.Enter prescription Unsupporte Fail


reports with prescription =some other d file
invalid data 2.Enter reports data formats
3.Click submit No reports
Code for Searching

<form action="Search" method="post" style="margin-right: 60px;!" >


<table>
<tr>
<td>
<p>Search</p></td><td>:</td><td><input type="text" name="files"
id="search">
</td>
</tr>
<tr> <td>
</td>
<td></td><td><input type="submit" value="submit" onclick="return
validateSearch()"></td>
</tr>
</table>

</form>
Requirement : Search files
Testing method : Unit testing

Test case Test Test Test data Expected Pass/Fail


id Scenario Steps Result

TC7 Check the file 1.Enter File=my Shows the pass


which was the file sample file
uploaded name

TC8 Check the file 1.Enter File=my File not fail


which was not the file sample found
uploaded name
THANK YOU

S-ar putea să vă placă și