Posts

Test case

Test Case Table Login Test Cases TEST CASE TEST DATA DATA DESCRIPTION EXPECTED ACTUAL RESULT Login xxx@gmail.com Check customer login with valid data. Should get login email id correct Valid Pass Login xxx@gmai l.com Check customer login with valid data Should get login email id incorrect Invalid Fail Login xxx@g mail.com Check login valid data is incorrect Should get login email id incorrect Invalid Fail Login abcdef Check username is filled or not Should get login email id correct Invalid Fail Login xxx@23 Check customer login password with valid data Should get password is correct Valid Pass Login xxx@23 Checks customer ...

PHP 4 to 10

Program 4 Read form data   <!DOCTYPE html> <html> <head>  <title> PHP Form </title>  <style>  #field-container { width: 300px; margin: 50px auto; }  input, select, textarea { width: 100%; padding: 5px; margin-top: 2px; box-sizing: border-box; }  </style> </head> <body>  <div id="field-container">  <h2> Reading Form Data </h2>  <?php   if ($_SERVER["REQUEST_METHOD"] == "POST") {  $name = $_POST['name'];   $gender = $_POST['gender'];   $hobbies = isset($_POST['hobbies']) ? implode(', ', $_POST['hobbies']) : 'None';  $comments = $_POST['comments'];   $branch = $_POST['branch'];  echo "<h3>Submitted Data:</h3> Name: $name<br>Gender: $gender<br>Branch:  $branch<br>Hobbies: $hobbies<br>Comments: $comments<br>";  } else {?>  <form action="" method="post...

PHP

1.string handling <!DOCTYPE html> <html> <head>  <meta charset="utf-8">  <meta name="viewport" content="width=device-width, initial-scale=1">  <title></title> </head> <body>  <style type="text/css">  table tr td { padding:5px; } </style> <?php $name="Welcome to KGISL IIM!"; echo "<center style='font-size:20px'>"; echo "<h3>Input String: ".$name ."</h3>"; echo "<br><br>"; echo "<table border=1> <th>Method </th> <th> Syntax </th> <th>Result </th>"; echo "<tr><td>String Length</td> <td>strlen(input_string) </td> <td> ".strlen($name)."</td></tr>"; echo "<tr><td>Word Count</td> <td>str_word_count(input_string)</td> <td> ".str_word_cou...

2,4

2. countries  <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>World Countries</title>     <style>         body {             font-family: Arial, sans-serif;             line-height: 1.6;         }         a {             color: blue;             text-decoration: none;             font-weight: bold;         }         a:hover {             text-decoration: underline;         }     </style> </head> <body>     <h1>Welcome to the World of Countries</h1> ...

college web

  1.college website <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>ABC College</title>     <style>         body {             font-family: Arial, sans-serif;             margin: 0;             padding: 0;         }         header {             background-color: #4CAF50;             color: white;             padding: 15px 0;             text-align: center;         }         nav {             background-color: #333;             ov...

js

  Registration form js <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Inter-Collegiate Function Registration</title>     <style>         body {             font-family: Arial, sans-serif;             margin: 20px;         }         h1 {             text-align: center;         }         form {             width: 50%;             margin: auto;             background-color: #f9f9f9;             padding: 20px;             border-radius: 10px;     ...

LT3,5BIO

3. list  and table <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Lists and Table Example</title> </head> <body>     <!-- i) Display Text with Bullets / Numbers - Using Lists -->     <h1>Lists</h1>     <!-- Unordered List (Bullets) -->     <h2>Unordered List</h2>     <ul>         <li>Item 1</li>         <li>Item 2</li>         <li>Item 3</li>         <li>Item 4</li>     </ul>     <!-- Ordered List (Numbers) -->     <h2>Ordered List</h2>     <ol>         <li>First Item</li>  ...